That's kinda what I thought...but when debugging, the value of $the_value is NULL even though an item is selected....
See below:
$date=date("F");
$months = array("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");
echo "<SELECT name=gomonth>";
for($i=0; $i<1; $i++)
{
if ($date==$months[$i])
{
echo $sel = ' selected';
}
else
{
$sel = '';
}
echo '<option value="'.$months[$i].'"'.$sel.'>'.$months[$i].'</option>';
}
echo "</SELECT>";
$monthselected = $gomonth;