I am trying to modify a function I have. It counts the number of words.
I would like to modify it to NOT count words with only 1 or 2 characters.
Here is the function:
function word_count($item1) {
$countitem = explode(" ", $item1);
$tot_words = count($countitem);
return $tot_words;
}
I am using php 3...
Any help is greatly appreciated