Code: Select all
$boneyard=100; //Defines how many characters will be displayed from content field.
$postyard = substr($row->description,0,$boneyard);
echo "$postyard <font color='#cccccc'>...</font>";So, is there a way to do this, but for WORDS not characters?