Can anyone help?
Platform: Win2k, Apache, mysql
I am causing crashes when trying to run this date stuff using the PHP
module, but it works fine when using the same setup using the CGI version.
---- begin code snip ----
<SELECT name=\"OrdDate\" size\"1\">
$max_date = 90;
$ini_date = 0;
echo("\t<OPTION VALUE=\"NULL\"> </OPTION>\n");
do {
$dis_date = date("D\. M\. d\, Y", strtotime ("+$ini_date
day"));
$val_date = date("Y-m-d", strtotime ("+$ini_date day"));
echo("\t<OPTION VALUE=\"'$val_date'\">[$ini_date]
$dis_date</OPTION>\n");
} while (++$ini_date <= $max_date);
</SELECT>
---- end code snip ----
thanks!
Charles Mulford
Web Developer
McLeodUSA
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]