array_filter function

From: Date: Fri, 28 Mar 2008 13:50:57 +0000
Subject: array_filter function
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-272219@lists.php.net to get a copy of this message
Hello, If I have an array like this $dataArray = array(0=>array('type'=>'da'), 1=>array('type'=>'wb'), 2=>array('type'=>'da'); How I can filtering to get only 'da' only, like this $newDataArray = array(0=>array('type'=>'da'),2=>array('type'=>'da')) Thanks in advance bnug

« previous php.general (#272219) next »