Hi i need help to match keywords in variable. i check is there both keywords in text.
PHP Code:
<? $keywords = array(apple, dog);
$text ="this is text where i need match apple and dog";
i need check if there is a $keywods in $text,
?>
result can be yes or no
what functions i need to use?
thnx
|