I have an array that looks like this:
Array
(
[id] => 01
[name] => johndoe
[fields] => Array
(
[19] => Array
(
[othername] => fieldname
)
)
)
How can I go about getting the value from othername?
I tried:
$array = array();
$array[fields] = array();
echo $array[19]['othername'] ;
But I think I need to go down another level?
echo $array['fields'][19]['othername']