Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
July 6, 2005, 9:09 am
rate this thread
HTML_QuickForm document. Any suggestions on how? Also does anyone know
if it is possible to to use regular php type queries from within a
HTML_QuickForm document and whether you can put functions (like NOW())
as an argument to addelement()? Also, are there any forums dedicated to
PEAR or QuickForm?
Re: anyone know where to get help in PEAR PHP or where there are forums?
I haven't tested this, but in the doc for "prepare" it says that you
can use the "!" placeholder to litelarly insert something. So perhaps
something like "now()" could be added there. But you should be able to
create a correct format of the string with a combo of "date" and
"mktime" functions as well, and then just use "?" placeholder.
Ofcourse, if you always insert "now", you could consider if the
"timestamp" column type would do the trick.