Heres my code:
PHP Code:
<?echo substr($pf['description'],0,50);?>....(<a href="/portfolio/<?echo$pf['id'];?>/<?echo$pf['thumb'];?>" title="<?echo$pf['name'];?>" class="navy">more</a>)
Basically, you grab your description field from your table, it starts at character 0 and ends at character 50, you can then code a page without the limit to display the whole description!
This is a PHP function, not mySQL - for future reference, most things you do on your website that involve your database can probably be done with PHP functions.
Bookmarks