$str=explode(',',$_POST['search']); $sentence=$_POST['comment1']."".$_POST['comment2']."".$_POST['comment3']; for($i=0;$i<sizeof($str);$i++){> echo "$str[$i]:".substr_count($sentence,$str[$i])."\t"; }
$_SESSION[$str[$i]] = substr_count($sentence, $str[$i])."\t";
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)