in_array() with multidimensional array

From: Date: Fri, 09 Mar 2001 14:54:18 +0000
Subject: in_array() with multidimensional array
Groups: php.general 
Request: Send a blank email to php-general+get-43151@lists.php.net to get a copy of this message
How can I check if a value is in a multidimensional array? like I have <?php $i=0; while($idt = mssql_fetch_row($query_result)) { //echo $idt[0]."<br>"; $produtos_sem_tracking[$i]['cod']=$idt[0]; $produtos_sem_tracking[$i]['idt']=$idt[1]; $produtos_sem_tracking[$i]['gen']=$idt[2]; } ?> how can I check for an existing $produtos_sem_tracking['cod'] value for example? . [ Christian Dechery ] . Webdeveloper @ Tá Na Mesa! . Listmaster @ Gaita-L . http://www.tanamesa.com.br

« previous php.general (#43151) next »