Limit output of query field
| From: | fkeessen at planet dot nl | Date: | Sat, 05 Jul 2003 13:58:50 +0000 |
| Subject: | Limit output of query field | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-154050@lists.php.net to get a copy of this message | ||
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