$text = "the cow said moo";
$words = explode(' ', strip_tags($text));
$count = count($words);
echo $count; // output 4
now say i want to add: $text2 = "the cat said meow";
to $text so it outputs 8, how i do that?
Also, is there a function that will strip html? I do not want html to be counted into the total.
thanx.