<?php if(strlen($pname) > 28) {echo substr($pname,0,25);}else {echo $pname;}?> (Visited 86 times, 1 visits today) Twitter Facebook Google Plus LinkedIn StumbleUpon July 5, 2013 Previous post Next post Leave a reply Cancel replyYou must be logged in to post a comment.