Mysql – Form saving error PHP MYSQL

MySQLPHP

I have a form that saves 2 narratives and a select option. If I place to many characters in the narrative box it will not save to the mysql table, but if I decrease the characters then it will save just fine.

I have set php.ini to allow longer post time var sizes so im not sure if I am missing anything else in the php.ini that anyone can think of.

Thank for any suggestions.

Best Answer

It sounds like your data is to large for the constraints placed on the table/columns that you are trying to populate.

Take a look at the Data Types of the columns you are adding to and the Limits of those Data Types, then compare that to your values that are producing the errors.