Home > Q&A > body text
No error is reported after execution, but it always displays "Failed, the ID inserted by the current user is 0"
phpcn牛2023-05-10 18:26:13
Check whether the database primary key setting is auto-increment. If not, set it to yes
Solved, thank you! There is no primary key set in the table creation code provided before, and there is no auto-increment.