Re: QuickForm question...
| From: | Martin Tsachev | Date: | Mon, 12 Aug 2002 23:59:30 +0000 |
| Subject: | Re: QuickForm question... | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-2096@lists.php.net to get a copy of this message | ||
On Tue August 13 2002 2:46 am, R. Cole wrote:
> I'm trying to use QuickForm to process a bunch of information, and am not
> having much luck learning about how to properly use the $form->process()
> function. From what I see, it utilizes var_dump to dump the variables,
> but I can't see the reasoning behind it.
Yes this is an abstract function, there's no reason to use it at all.
> Anyway, I'm mainly wondering if there is an easier method to doing this.
> All I want to do is run a MySQL insert query based on the information in
> the form; however, for the time being, I can't figure out where to insert
> that code.
So what's the problem to extract the processed information?
$obj->getSubmitValue() and $obj->getElementValue() return the element value
after and before processing.
> Any help would be greatly appreciated. I'm a bit new to PHP, so this code
> is still quite over my head. :)
--
Martin Tsachev
Web developer
http://martin.f2o.org