Hi, I would like to find presents of value in a two-dimensional array according to its key(index).Is there any solution in php? Consider my array is as follows
Array ( [0] => Array ( [id] => 3 [value] => tom )
[1] => Array ( [id] => 4 [value] => john )
)
How can I find john
is present in above array.Already tried it by in_array()
.But which not help me...Please any suggections.