This PDO prepared statement returns false but does not throw an error

后端 未结 6 1681
[愿得一人]
[愿得一人] 2021-02-18 23:09

This code does not throw an error but the query fails, that is, the execute method returns false. How could that be?

require_once(\"Abstracts/DBMana         


        
6条回答
  •  北恋
    北恋 (楼主)
    2021-02-18 23:17

    Similar problems can occur when someone turns/leaves off the DB autoincrement on the main id field.

提交回复
热议问题