RE: date processing needed in form

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

 



> 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.

Since PHP is server-side, a more elegant solution could be achieved using
javascript.  In order to do this with PHP, your script would have to make
the trip back to the server after the month was entered to calculate the
valid day.

JM

-- 
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