I want to make a simple script to count specific word in a phrase.someting like this:
$phrase == "If you do not want to add a poll to your topic leave the fields blank to;
I want to count how many times the word "to" was used in the phrase.
Can anyone help me with this.
Thank you.
__________________
I rarely give code examples.
No, I have never used IIS or Windows of any kind as a web server. Get a real OS!
Please don't PM me, I won't respond.
Must read Review for Serious PHP Developers
NuSphere PhpED 5.5
: The Staff of php-editors.com recently spent a few days working with NuSphere
PhpED 5.5
(a popular PHP IDE) and
NuCoder 2.0
(a PHP Encoding Utility), read up on all the details.