M having multidimensional array and i want to check the key "Apple"
if exist in it ,
if it is exist then i wan to get the Price
of that Apple.
I have tried Array_key_exists() function , but it is applicable to only one dimensional array,
array(1) {
[0]=>
array(1) {
["Apple"]=>
array(2) {
["Color"]=>"Red"
["Price"]=>int(50)
}
}
}
How can I get the price of the Apple if it exist in array?