I have this array:
$Fruit = array()
$Fruit[$species][$property] = $value
Array
(
[Apple] => Array
(
[Green] => 4
[Spots] => 3
[Red] => 3
[Spots] => 2
)
Now I want to search if a key exists in the second array...
I tried this:
if (!array_key_exists($property, $Fruit->$species))
But it doesn't work...
Does anybody knows how to search inside an array of an array...?
Regards, Thijs