For some reason, every time I try and reply to the original post the
message disappears.
On Mon, 23 Feb 2015 00:09:40 -0800 (PST) Adnan Shiekh
<
adnans...@gmail.com> wrote:
> I have a question how to access 4 dimesional array efficiently in php
1) Your JSON is broken.
2) If you want json_decode to create an associative array in php you need
to set the right options in the call to json_decode. Read the php manual
for the json_decode function.
3) To access 'hello2' in the associative array generated from the
corrected json data, use:
$result['output']['data'][1]['password']
--
Denis McMahon,
denismf...@gmail.com