" Life is not a problem to be solved but a reality to be experienced! "
© Copyright 2013 - 2024 KUDO.TIPS - All rights reserved.
$str="jakis jakis ciag znakow";
$tablica=explode(" ", $str);
$zlicz=0;
for ($i=0; $i<count($tablica); $i++)
{
if($tablica[$i]=="jakis") $zlicz++;
}
echo 'poszukiwanych wyrazów '. $zlicz;
?>