Crew PHP |
|
foreach($array1 as $key=>$value){
// $value is nu je 2e array, dus om daar in te komen:
foreach($value as $key1 =>$value1){
// value1 is nu bv "DSC0001.JPG"
if($value1==$zoekwoord){
return "gevonden";
}
}
}
foreach($array1 as $key=>$value){ // $value is nu je 2e array, dus om daar in te komen: foreach($value as $key1 =>$value1){ // value1 is nu bv "DSC0001.JPG" if($value1==$zoekwoord){ return "gevonden"; } } }
|