I am having a problem inserting a long text (around 9000 characters) with an INSERT
query in php. I have already tested changing the column type (TEXT, MEDIUMTEXT,LONGTEXT)
even thought TEXT type should do for 9000 chars.
Also tested with a text free of any special chars or quotes.
I print my query and looks ok so I copy and paste into phpMyAdmin and the row inserts correctly. So the problem is coming when I try to INSERT from my php class.
I tested with a smaller text and this seems to work ok. I really need to get this solved. If anyone has the solution please let me know. Thanks!