Count the words in a sentence using PHP 
<?php

$str = "I am the best";

echo str_word_count($str);
?>

********out put *******
4

[ add comment ] ( 1 view )   |  permalink  |   ( 2.8 / 29 )

<<First <Back | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | Next> Last>>