Integrity constraint violation: 1048 Column 'name' cannot be null error

前端 未结 3 1468
借酒劲吻你
借酒劲吻你 2021-01-14 22:05

there were a lot of answers related to this, but I couldn\'t find useful information. I\'m trying to connect to the database and insert user\'s entered values into it, but I

3条回答
  •  死守一世寂寞
    2021-01-14 22:33

    Make sure that the column is marked as Primary key or auto_increment if you are using it that way, or mark it as null if you want to store null.

提交回复
热议问题