print_r displays this on my screen.
Array ( [0] => Array ( [0] => Array ( [message_hello] => sdsfsfsd ) ) )
Which code to write to access - sdsfsfsd ?
php array display
Moderator: General Moderators
-
amargharat
- Forum Commoner
- Posts: 82
- Joined: Wed Sep 16, 2009 2:43 am
- Location: Mumbai, India
- Contact:
Re: php array display
it is as follows,
Code: Select all
echo $arr[0][0]["message_hello"];