retrieve data from multidimensional array

From: Date: Sat, 20 Jul 2002 07:49:45 +0000
Subject: retrieve data from multidimensional array
Groups: php.general 
Request: Send a blank email to php-general+get-108631@lists.php.net to get a copy of this message
I have a multidimensional array. How can I search and retrieve all data that is like $value from it. the array looks like this $multi=array($row_0,$row_1); I want to retrieve all data where $value matches $row_1 and display the data on the screen. I know that array_search and in_array will tell me that the data exist but I what to retrieve it.

« previous php.general (#108631) next »