<?php
$today = date("m-d-y");
$early = date("m-d-y",mktime(0, 0, 0, 1, 14, 2005));
$normal = date("m-d-y",mktime(0, 0, 0, 1, 31, 2005));
if ($today <= $early) //also done with writing in "01-14-05"
{
print "<tr><td>Pre-Conference</td><td>$12</td><td><input name=\"Pre-Conference\" type=\"radio\" value=\"Y\"></td></tr>";
print "<tr><td>Early Registration (thru 01-14-05)</td><td>$85<input name=\"Conference\" type=\"radio\" value=\"Early Registration\"></td></tr>";
print "<tr><td>Registration for Saturday Only (thru 01-14-05)</td><td>$65</td><td><input name=\"Conference\" type=\"radio\" value=\"Early Saturday Only\"></td></tr>";
}
else if ($today >= "01-15-05" || $today <= "01-31-05")
{
print "<tr><td>Registration (01-15-05 thru 01-31-05)</td><td>$95</td><td><input name=\"Conference\" type=\"radio\" value=\"Registration\"></td></tr>";
print "<tr><td>Registration for Saturday Only (01-15-05 thru 01-31-05)</td><td>$70</td><td><input name=\"Conference\" type=\"radio\" value=\"Saturday Only\"></td></tr>";
}
?>
Thanks, Robert
-- Robert Sossomon, Business and Technology Application Technician 4-H Youth Development Department 200 Ricks Hall, Campus Box 7606 N.C. State University Raleigh NC 27695-7606 Phone: 919/515-8474 Fax: 919/515-7812 robert_sossomon@xxxxxxxx
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php