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 ""; >echo "$teams[$r.'1']"; >

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, Ja

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 ""; echo "$teams[$r1]"; echo "$teams[$r2]"; echo ""; Greets, Edward > I keep getting parse error with this code: > ($teams[] is a big array that I got by using mysql_fetch_array) > > >$r = "game"; >