Re: Help with PEAR:QuickForm Date
| From: | Alexey Borzov | Date: | Thu, 11 Mar 2004 20:50:37 +0000 |
| Subject: | Re: Help with PEAR:QuickForm Date | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-11240@lists.php.net to get a copy of this message | ||
Hi!
Kieran Kelly wrote:
I'm new to PHP and PEAR and I'm setting up a simple form to read in some dates. The problem is that I now want to extract the day/month/year from the form and assign them to variables in my script. So the date is read in thru the following: $myForm->addElement('date','startDate','Date to start',$options); How do I get the information from startDate??? I tried below and other variants, but I'm unable to extract the day/month/year that was entered on my form. I'm not sure what format the startDate is in!Neither are we, the format is defined in $options, but you didn't post its value.
$getTest = $myForm->exportValue('startDate');