date processing needed in form

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello -

I need to create a form that allows the user to select a Month, Day and 
Year.  I am also new to PHP and am wondering if there is a way for me to 
display the contents of the Select list box (for the Day) based on the Month 
that is selected (and Year), so that the valid number of days for the month 
(& year?) displays.  For all of our other forms, we use CGI to handle our 
standard forms validation, and was hoping to handle more complex validation 
within PHP prior to sending the entire contents of my form to our standard 
CGI validation routine.  I know that I could use the Checkdate function once 
the entire date is selected, but thought there might be an easier/more 
efficient way of handling this and also not sure how to reference Checkdate 
prior to Submitting my form to the CGI routine.  I also was not sure if this 
was something that is handled easier using Javascript?  Any help/examples, 
etc. would be greatly appreciated!

Thanks!!
Sue 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux