I keep getting parse error with this code:
($teams[] is a big array that I got by using mysql_fetch_array)
 
 
   $r = "game";
   echo "<select name='game'>";
   echo "<option value=game1>$teams[$r.'1']</option>";
   echo "<option value=game1>$teams[$r.'16']</option>";
   echo "</select>";
 
Im trying to make a dropdown list.
 
Here is the error message:
Parse error: parse error, expecting `']'' in
/home/filanya/www/madness/bracket.php on line 65

(line 65 is the third line down)
 
THANKS!!!!!!!!

Reply via email to