EllisLab text mark
Advanced Search
     
Field length problem with mySQL
Posted: 10 November 2012 03:36 PM   [ Ignore ]
Joined: 2012-10-28
6 posts

I have an application which accesses some VARCHAR(256) fields in mySQL. When the user enters data, it is correctly stored in these fields. But whenever I retrieve it for reporting it is truncated to 127 characters.

Any ideas on this?

 
Posted: 10 November 2012 05:46 PM   [ Ignore ]   [ # 1 ]   [ Rating: 0 ]
Joined: 2009-04-15
453 posts

how do you know it is being truncating to 127?

post some code, and tell us what debugging you’ve done so far

 Signature 

Code By Jeff

Mahana Messaging Library

Problem with your query? Did you run

$this->db->last_query(); 

before you came to the forums for help?