$sayi = count($array)-1; for($i=0;$i <= $sayi; $i++) { if($array[$i]['0']['0']['burasi'] == 12) { //.......... } // if } // for