Re: [phplib] Stuffing $db->("bla") into add_element() From: Jeroen Laarhoven (jeroen <email protected>)
Date: 09/06/00

>The following returns an empty form element:
>
>$f = new form;
>$f->add_element(array( ....., "value"=>$db->f("col1"), ....));

Syntax looks oke. I do in add_element() things like:

   "size"=>$this->_resize_field( $size),

So I see no reason why your stuff shouldn't work.
Have you tried 'col1' iso. "col1"?

Greetings
Jeroen.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Jeroen Laarhoven, Zwolle, Netherlands
email: jeroen <email protected>
www: http://jeroen.polder.net
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = =

----- Original Message -----
From: "Jens Benecke" <phplib <email protected>>
To: <phplib <email protected>>
Sent: Sunday, August 27, 2000 1:12 PM
Subject: [phplib] Stuffing $db->("bla") into add_element()

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>