If you want to check elements if exist or not in the multidimensional array using php.So now I’ll describes how to check elements is exist or not in the multidimensional array.Simple way.Look at this function.


I wrote the function to check this.You have to call only to this function for check that element.
Function

This is my array.


How to call to this function for check the element.Here I’ll check “iPhone” is exist or not.(Example-1)