qwikad.com
05-17-2013, 12:14 PM
I've shortened titles to 60 characters. How do I tell this code to show three dots ... at the end of a title if the that title is more than 60 characters long and show nothing if it is less?
<?php echo substr($row['adtitle'], 0, 60); ?>
Thank you.
<?php echo substr($row['adtitle'], 0, 60); ?>
Thank you.