jamina1 Posted June 26, 2007 Share Posted June 26, 2007 Hi guys- I looked around to solve a problem I'm having with PHP truncating values longer than 255 characters in a Varchar field in my database. I can't convert the column to TEXT because I have to run DISTINCT on a few queries, and TEXT doesn't compute with it. Is there any way to get around the PHP truncation? Quote Link to comment https://forums.phpfreaks.com/topic/57311-php-and-varchar-length/ Share on other sites More sharing options...
sushant_d84 Posted July 2, 2007 Share Posted July 2, 2007 Hey.. I am not getting u r problem exactly .. but I Guess u r problem will get solved using this function "substr" let me know if this help u Regards Sushant Quote Link to comment https://forums.phpfreaks.com/topic/57311-php-and-varchar-length/#findComment-287866 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.