Look up the function substr. It will allow you to create a string of the first 50 chars from your 400 char string.
-Dan On Sat, 2003-07-05 at 09:58, [EMAIL PROTECTED] wrote: > Hi there, > > Hope you can help me with the following: > > I have a query and i'm showing the output: > > echo $row->text; > > That goes o.k. but the text is 400 characters long and I only one to show the first > 50 characters and at the end showing ... dot's.. > > Help! > > Thank you very much! > > Frank > > > ______________________________________________________________________ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php