RE: [PHP] insert date with a calendar

From: Date: Thu, 20 Jun 2002 21:15:46 +0000
Subject: RE: [PHP] insert date with a calendar
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-103206@lists.php.net to get a copy of this message
> user input, which is not always reliable, has to be in the correct format. What I've done for things like this is to have three separate select form elements. The first for selecting a day of the month. The second for selecting a month and the third for selecting a year. I usually set the year options based on the requirements - as in, if it's a mostly current event then I set the valid options for year to be current year minus two through to current year plus five. CYA, Dave

« previous php.general (#103206) next »