<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <?php function monthName($mon) { static $month_name = array( '--UNDEFINED--' ,'January' ,'February' ,'March' ,'April' ,'May' ,'June' ,'July' ,'August' ,'September' ,'October' ,'November' ,'December' ); return $month_name[$mon]; }
?> <html> <head><title>Calandar Chooser</title> <link rel="stylesheet" href="chooser.css" type="text/css"> </head> <body><center> <?php if($day>0) { echo "<br><hr width=\"50%\"><br>"; echo "Date Selected: <b>".monthName($mon)." $day, $yr</b><br>\n"; echo "<br><hr width=\"50%\"><br>"; } ?> </center></body> </html>
|