Menu
Hi,
I want to search a string and look for several words from an array and use a for each loop to go through the array. But I don’t know how to combine the code because I want the following code only to be activatet if there is no hit in the array, like !=.
Preciate some help. Thanks!
[COLOR=”Red”]$filter = array(“name1″,”name2″,”name3”);
$search = strstr($text, ??
for each ($filter as ??
Following code to run if there is no match