RE: [PHP] HTML lists PHP

2002-01-30 Thread Ford, Mike [LSS]
-Original Message- From: Phil Schwarzmann [mailto:[EMAIL PROTECTED]] Sent: 28 January 2002 22:02 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

Re: [PHP] HTML lists PHP

2002-01-28 Thread Edward van Bilderbeek - Bean IT
maybe you can try something like this... $r1 = game1 $r2 = game16; echo select name='game'; echo option value=game1$teams[$r1]/option; echo option value=game1$teams[$r2]/option; echo /select; Greets, Edward I keep getting parse error with this code: ($teams[] is a big array that

Re: [PHP] HTML lists PHP

2002-01-28 Thread hugh danaher
Try $teams[${r1.1}] or a variation on this theme hugh - Original Message - From: Edward van Bilderbeek - Bean IT [EMAIL PROTECTED] To: Phil Schwarzmann [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, January 28, 2002 2:16 PM Subject: Re: [PHP] HTML lists PHP maybe you can try