Insertion failed
P粉500773388
P粉500773388 2023-05-10 15:22:07
0
2
809

No error is reported after execution, but it always displays "Failed, the ID inserted by the current user is 0"

P粉500773388
P粉500773388

reply all(1)
手机用户1578621769

Check whether the database primary key setting is auto-increment. If not, set it to yes

  • reply Solved, thank you! There is no primary key set in the table creation code provided before, and there is no auto-increment.
    P粉500773388 author 2023-05-11 11:21:37
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!