Hi,
Is there such a function that counts words and/or characters from a content of a variable?
For example I have a variable:
$text ="Have a nice day."
(of course, the actual content comes from a MySQL field).
The word count function would return 4, and the character count function would return 15.
Or is there another way to do this? in MySQL perhaps?
Thanks for all the hints.
Andre
Is there such a function that counts words and/or characters from a content of a variable?
For example I have a variable:
$text ="Have a nice day."
(of course, the actual content comes from a MySQL field).
The word count function would return 4, and the character count function would return 15.
Or is there another way to do this? in MySQL perhaps?
Thanks for all the hints.
Andre