Posted by Miguel Cruz on 08/06/06 09:25
"7h@ch" <essetm@gmail.com> wrote:
> echo "your goal keeper is: $myclub->roster[gk]<br>");
>
> As is, the 2nd line output is: "your goal keeper is: Array[gk]"
echo "your goal keeper is: {$myclub->roster['gk']}<br>");
Note the curly braces and quotes.
miguel
--
Photos from 40 countries on 5 continents: http://travel.u.nu
Latest photos: Malaysia; Thailand; Singapore; Spain; Morocco
Airports of the world: http://airport.u.nu
Navigation:
[Reply to this message]
|