for($i=1; $i<=12; $i++) :
$month = date('F', mktime(0, 0, 0, $i, 11, 1978));
echo '<option value="'.$i.'"';
if (isset($availability_month) && $availability_month==$i) echo ' selected="selected"';
echo '>'.$month.'</option>';
endfor;
There are currently 1 users browsing this thread. (0 members and 1 guests)