I've been looking online for this solution figured i'd post the question up.
I know i did this years ago but can't find the code and cant get a preg_match to work.
I want to check the variable $title that has been assigned for items in array and if there are any matches return a message or perform an action.
Any help is appreciated.PHP Code:
$title = "Me Brown wears a yellow hat sometimes";
$good = array("yellow","green","pink","blue","purple","black");