Preliminary implementation of user registration function
ma
ma 2019-07-09 20:15:24
0
2
1261

error: 1364 Field 'status' doesn't have a default value

I reported this error. You must add a default value to the status field in the zh_user table of the database before it can be added successfully. However, I found that the teacher's class did not add the default value, and it was added successfully. Why is this?

ma
ma

reply all(2)
ma

But it's not written in your code. Why is the insertion successful?

Reliable°

The database does not have a default value set. You can add a default value when inserting into the database.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template