<?php $mystring = 'This Question is about php strings'; $wordsToFind = array('php','strings','Question'); foreach ($wordsToFind as $word) if (strpos($mystring, $word)) { echo $word.' has been found'; echo "\n"; }
You have javascript disabled. You will not be able to edit any code.