What is wrong with my code, please help...
This is what IE error msg shows:
Parse error: parse error, unexpected T_VARIABLE in C:\FoxServ\www\Home Work\Form2.php on line 2
Here is my code:
<? php
$MonthCode= array ("1","2","3","4","5","6","7","8","9","10","11","12");
$MonthName = array ("January","February","March","April","May","June","July","August","September","October","November","December");
?>
<select name= "Month" size=1>
<? php
//month
for ($i=0;$i<11;$i++)
{
$SelectNo="";
if ($Month == $MonthCode[$i]) $SelectNo = "selected";
print "<option value = '$MonthCode[$i]' $SelectNo> $MonthName[$i]";
}
?>
Thanx in advance... I may need help again later on with my first ASM