kevin66 Posted May 19, 2011 Share Posted May 19, 2011 Hi, I have been searching everywhere to try to figure out how to restrict the number of chararacters shown when I do a while loop of data. The one I want to restrict is Property_Short_Description here - <?php echo "2.gif vspace=5 border=0><br />"; echo $row['Property_Short_Description'];} ?> Thanks so much Quote Link to comment https://forums.phpfreaks.com/topic/236828-restrict-number-of-chararacters/ Share on other sites More sharing options...
requinix Posted May 19, 2011 Share Posted May 19, 2011 How about substr? Quote Link to comment https://forums.phpfreaks.com/topic/236828-restrict-number-of-chararacters/#findComment-1217389 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.