Hi,
I need to find out how many times the word "like" is found on a text and also all the positions for each count.
I tried
$text = "i like food, i like travelling , i like cinema";
echo strpos($text,'like');
But this only shows me the first position for the word like. Can anyone help me with this?
thanks