Forums

PHP

This topic is locked

Limit dynamic text field by no's of characters...

Posted 11 Apr 2003 14:10:56
1
has voted
11 Apr 2003 14:10:56 Oli Wilkinson posted:
Hi Guys, Just a quick question...

I have a dynamic text field on my page with the following code:

<?php echo $row_News['text']; ?>

What extra code do I need to add to make the text field only show, say the first 40 characters?

Many Thanks in advance for your help.

<img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>

Replies

Replied 11 Apr 2003 16:07:45
11 Apr 2003 16:07:45 Brent Colflesh replied:

Reply to this topic