user substr() function e.g substr($column['body'],0,230) 

--- In [email protected], "Jer" <[EMAIL PROTECTED]> wrote:
>
> I'm trying to create an overview page that will show all of the 
columns from a particular 
> MySQL row. However, as some of the columns can get long, I'd like to 
be able to limit the 
> amount of text displayed on the overview page to about 1000 
characters and have a "more" 
> link on the end that would bring the user to a detail page.
> 
> How would I limit the number of characters displayed?
>






Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to