> -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']";
>
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
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";
>
3 matches
Mail list logo