Okay... i've got a while loop that I want to use to poulate a select drop-down list, but for some reason my loop never terminates.
<?php
$day = 1;
while(day <= 31)
{
echo("<option value = \"" . $day . "\">" . $day);
$day++;
}
?>
this loops indefinately, never returning false and terminating... que? I know $day is being incremented properly (the numbers that show up in the select box confirm this). Obviosuly there is something simple I am doing wrong, but what?