<?php
$strText = "This is a test";
$wordcount = count(explode(" ",$strText));
echo "There are $wordcount words in $strText";
?>
$strText = "This is a test";
$wordcount = count(explode(" ",$strText));
echo "There are $wordcount words in $strText";
?>
0 comments:
Post a Comment