> 1 $limit = "5000";
> 2 if(strlen($text) > $limit)
> 3 {
> 4 <cut $text down to $limit length>
> 5 $text .= "...sorry, text was too long";
> 6 }4 $text = substr($text, 0, $limit); 5 $text .= " ... (More)"; :) Jason -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

