suresh_kamrushi Posted October 25, 2011 Share Posted October 25, 2011 Suppose i have a multidimensional array like: $a = array(array('p', 'h'), array('p', 'r'), 'o'); And i want to search value 'p' from this. Is there any inbuilt function for this in php? I just dont want to write code for this. in_array and array_search do not search in multidimention array. So please help me out this. Thanks in Advance!!! Link to comment https://forums.phpfreaks.com/topic/249788-how-to-search-value-in-multidimension-array/ Share on other sites More sharing options...
requinix Posted October 25, 2011 Share Posted October 25, 2011 You don't want to write code for something as trivial as this? Link to comment https://forums.phpfreaks.com/topic/249788-how-to-search-value-in-multidimension-array/#findComment-1282152 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.