Hey I came up with a small bit of php code, after looking at a few articles, to fill a select box. The code seems relatively inline with a few of the options I saw yet doesnt actually work in Dreamweaver or in firefox. Heres the code:
<select>
<?php
for ($day=1; $day <= 31; $day++;) {
echo '<option value=\"'.$day.'\">'.$day.'</option>';
}
?>
</select>
Manually inputting the day isnt much of a problem but doing the same for years is not viable at all and I plan on using similar code to do that so this is a pretty big kink in this page. Any help is greatly appreciated.
Remove the
;after$day++