PHP-mySQL: Long Text Field cutoff on read
I'm developing a CMS, and when a particularly long entry is in a TEXT field, I'm getting the value cutoff when reading it back.
When investigating the query, the query is fine, so its inserting/updating fine. The problem is the read.
I've tried resolving this with updating the max_allowed_packet value in my.cnf, but this hasn't helped.
Any advice? Thanks!
We might need to see the relevant code.
"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
~ Terry Pratchett in Nation
How to Ask Questions the Smart Way
(not affiliated with this site, but well worth reading)
I managed to resolve this - I changed the mySql field type from "Text" to "Longtext".
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread