Counting Words in TEXT field

From: Date: Thu, 25 Jul 2002 08:47:00 +0000
Subject: Counting Words in TEXT field
Groups: php.db 
Request: Send a blank email to php-db+get-20776@lists.php.net to get a copy of this message
I am using mysql. Is it possible to count the number of words in a text column? Or is this a job for php(The info will be going into php anyway)? I can use $word = explode(' ',$row['text']); then use count($word ). I just ask because mysql *may* be able to do it. -- JJ Harrison webmaster@tececo.com www.tececo.com

« previous php.db (#20776) next »