$kod = explode(',',$_REQUEST["kod"]); for($i=0; $i>=count($kod); $i++){ if($Dovizs[$i]["name"] == $Kod[$i]) { $KOD_İCERİGİ } }