mcmuney Posted February 23, 2007 Share Posted February 23, 2007 Can someone show me an example of how to limit the number of characters displayed? For example: If the result is "Did you know that you can fly? If I want to show a maximum of 15 characters, how can I get it to show only "Did you know..."? Link to comment https://forums.phpfreaks.com/topic/39752-limiting-results-to-x-characters/ Share on other sites More sharing options...
fert Posted February 23, 2007 Share Posted February 23, 2007 http://us2.php.net/manual/en/function.substr.php Link to comment https://forums.phpfreaks.com/topic/39752-limiting-results-to-x-characters/#findComment-191961 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.