Help with PEAR:QuickForm Date
| From: | Kieran Kelly | Date: | Thu, 11 Mar 2004 17:41:54 +0000 |
| Subject: | Help with PEAR:QuickForm Date | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-11237@lists.php.net to get a copy of this message | ||
Hi,
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!
$getTest = $myForm->exportValue('startDate');
Any help would be gratefully appreciated.
Thanks