adamhhh Posted July 31, 2007 Share Posted July 31, 2007 bit stumped here, how do i return the first x amount of characters from a field in a mysql database? Link to comment https://forums.phpfreaks.com/topic/62633-mysql-returning-first-200-characters/ Share on other sites More sharing options...
hostfreak Posted July 31, 2007 Share Posted July 31, 2007 mysql left() function; http://dev.mysql.com/doc/refman/5.0/en/string-functions.html#function_left or php substr() function; http://php.net/substr Link to comment https://forums.phpfreaks.com/topic/62633-mysql-returning-first-200-characters/#findComment-311748 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.