Can view form here. Need to add sticky quality!
http://www.cmfsc.ca/forms/FormsTesting.php
Here's my code. How do I modify to add sticky quality, to retain values after Submitting form?
<form action="<? echo $_SERVER['PHP_SELF']; ?>" method="post"> <? $startTime = mktime() - (2 * 3600); $endTime = mktime() - (14 * 24 * 3600); print '<select name="newgameday">'; for ($i = $startTime; $i >= $endTime; $i = $i - 86400) { $thisDate = date('l F jS Y', $i); print "<option value=\"$thisDate\">$thisDate</option>\n"; } print '</select>'; ?> <input type="submit" name="submit" value="Submit" /> </form>
Thanks for any help!!