|
Posted by Jim Moseby on 01/03/06 23:18
> 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
Navigation:
[Reply to this message]
|