View Single Post
  #1  
Old 03-25-2010, 06:42 AM
  Phoenixone's Avatar 
Phoenixone Phoenixone is offline
 

Advanced Member
  
Join Date: Feb 2010
Location: Portugal
Posts: 38
 

Default shorten text shown

hi guys i am trying to shorten the amount of text shown for my testimonials

so for instance i don't want the whole testimonial to show just say 100 characters.

how would i set the code for this:

here is my code that fetches the testamonial text

Code:
<td align="left"> {$test.testimonial|replace:"\n":"<br>"} </td>

so what do i add to that to shorten the length?
help please
__________________
PHP 5.2.11
MYSQL 5.0.45

WESH UK hosting

--- Add-ons -----
X-RMA
X-AOM
X-FancyCategories
X-Feature comparison

BCSE Request a Quote
BCSE Customer Testimonials
BCSE Advanced ratings and reviews
BCSE Customer reward points
BCSE Reward points refferal
BCSE Customer polls

Cart Labs - Tabs
Reply With Quote