Pyro4816 Posted December 9, 2006 Share Posted December 9, 2006 Is it possible to only select a certain number of characters from a mysql database? Like i want to display the first 220 leters of an entry, is that possible? Quote Link to comment Share on other sites More sharing options...
hitman6003 Posted December 9, 2006 Share Posted December 9, 2006 http://www.php.net/substr Quote Link to comment Share on other sites More sharing options...
roopurt18 Posted December 9, 2006 Share Posted December 9, 2006 Let the database perform your task for your:http://dev.mysql.com/doc/refman/5.0/en/string-functions.htmlScroll down to SUBSTRING() Quote Link to comment 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.