I know this is simple, but I can't seem to find it in the manual or anywhere else...
How do I access (reference) data in sub-layers of a multidimensional array?
For instance:
$fruit = array(
"size" => "small",
"kind" => array( 0 => "fuji",
1 => "jonagold",
2 => "pink lady"));
//now I can get "small"...
echo "$fruit[size]";
//but how do I get "fuji"? I tried this:
echo "$fruit[kind][0]"
//but that doesn't work for me.
Thanks for helping me out of my niavete!
Lucas