The looks pretty simple, there seems to be no problem at all. TEXT type allows 65535 characters, so that shouldn't be a problem.
Try to debug the SQL query by printing it out, and check for any syntactical errors.