Mundo Posted March 17, 2009 Share Posted March 17, 2009 I have a desciption field, but I only want to display the first 100 characters from this. How can I use PHP to strip the text to only the first 100 characters? Quote Link to comment https://forums.phpfreaks.com/topic/149820-stripping-text-from-mysql-result/ Share on other sites More sharing options...
premiso Posted March 17, 2009 Share Posted March 17, 2009 substr Quote Link to comment https://forums.phpfreaks.com/topic/149820-stripping-text-from-mysql-result/#findComment-786716 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.