Simple form will not save to database

momentis 21 Jul, 2022
Answer
I am creating a simple form that saves to a database table. The table has some fields that aren't included on the form, which is by design. When I attempt to enter data and save, I am getting an error that the field does not have a default value. I have no idea what I am doing wrong.
momentis 21 Jul, 2022
MySQL on the server is running in strict mode. If that's the case, every table field needs a value or have it's null state defined in the table setup.
You need to login to be able to post a reply.

VPS & Email Hosting 20% discount
hostinger