title: How to allow empty string for integer in MySQL?
body: <p>I have integer fields in a table. The POSTs are sent by a complicated JavaScript. They send empty strings like &quot;&quot; but as you guessed MySQL doesn't allow empty strings in integer fields. Are there any options to allow empty strings? Like if it takes an empty string it will save it as NULL.</p>