Lets say I had a string.
$str="one hey words two hey the three hey the four the three";
What I want to do is pull out the number of times each word appears in the string... for example...
How can this be done??
Also, is it possible to count 2 or 3 word phrases ??