Home
Mac
Finder
Tips & Tricks
Linux
Web Server
Plesk
Windows
Server
MySQL
Joomla
General
Virtuemart
News Feeds
Joomla Community
Joomla Events
HowtoForge
Apple
Apple - Support
Perishable Press
Freak-Bootique
DZone
Gizmodo
Downloads
Contact
Code
PHP
count the words
Thursday, 11 August 2011 08:55
the
-
below
-
games
-
industry
-
form
Count Words
Enter the word / phrase in the form below
Games Industry
$text = $_POST['text'];
$count = count(explode(" ", $text));
if ($text == "" ) {
echo "";
}
else
echo"
$text
words typed is $count "; ?>
Read more:
http://feeds.dzone.com/~r/dzone/snippets/~3/5GQXP3uUvhU/13517
CodersResource.com
Scroll To Top