Jump to content

How do I access the second array name key?


ballhogjoni

Recommended Posts

Array
(
    [game] => Array
        (
            [id] => 2011012593950636050
            [name] => Array
                (
                    [us] => Castlevania II: Belmont's Revenge
                    [uk] => Castlevania II: Belmont's Revenge
                )

 

echo print_r($this->game[0]['name']) but undefined offset error.

 

I don't want to loop through the first array either.

 

Thanks

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.