If a PHP script tries to set a string value, such as an empty string, into a MySQL integer data type or column, you will likely see this error message: Incorrect integer value ” for column ‘name’ at row 1 In this situation, what is happening is that the script is attempting to insert or update a row with the integer entry taking on either the default value (e.g., of 0 or NULL) or the next AUTO_INC