Hey, I have a string, and want to count how many times is contains a word...
for example I have a string :
php is going to tell me how many times the word php this string counts, because php can do so. Thanks to php this won't cost me a lot of work!
Now I want to search for the word 'php' and let my function return '4'
any ideas?