Phyclereheady
New Member
Here's my search array:\[code\]$aExt = array('png','jpg','gif');\[/code\]I want to search through the variable:\[code\]$sIcon\[/code\]How can I search if the variable includes anything in this array using PHP?It's like in inverted in_array:\[code\]strstr($sIcon, $aExt)\[/code\] <- Can second arg be an array?