limiting text output

From: Date: Wed, 18 Jul 2001 17:47:59 +0000
Subject: limiting text output
Groups: php.general 
Request: Send a blank email to php-general+get-58484@lists.php.net to get a copy of this message
Hey all, was curious if anyone has had experience with limiting the amount of text pulled from a database and placing a link and the end of the excessive text line. ie. the description of a product could be 800 characters long, how can it be shortened to 50 -100 characters with a link to "read more" at the end. I was fiddling with strlength and an if else statement, but i cant really get things happenin. Any and all help would greatly be appreciated. Regards

« previous php.general (#58484) next »