[PHP] Find/count different word in a text

2012-04-25 Thread Karl-Arne Gjersøyen
Hello again. I am looking for a way to find and count different word in a text.. I am thinking on save the text as array and iterate through the array. Then I like to register all different words in the text. For example. If bread is used more than one time, I will not count it. After the check

Re: [PHP] Find/count different word in a text

2012-04-25 Thread Stuart Dallas
On 25 Apr 2012, at 17:59, Karl-Arne Gjersøyen wrote: I am looking for a way to find and count different word in a text.. I am thinking on save the text as array and iterate through the array. Then I like to register all different words in the text. For example. If bread is used more than one

Re: [PHP] Find/count different word in a text

2012-04-25 Thread Matijn Woudt
On Wed, Apr 25, 2012 at 6:59 PM, Karl-Arne Gjersøyen karlar...@gmail.com wrote: Hello again. I am looking for a way to find and count different word in a text.. I am thinking on save the text as array and iterate through the array. Then I like to register all different words in the text. For

Re: [PHP] Find/count different word in a text

2012-04-25 Thread Ken Robinson
At 12:59 PM 4/25/2012, Karl-Arne Gjersøyen wrote: Hello again. I am looking for a way to find and count different word in a text.. I am thinking on save the text as array and iterate through the array. Then I like to register all different words in the text. For example. If bread is used more