This PDO prepared statement returns false but does not throw an error
问题 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/DBManager.php"); require_once("UI/UI.Package.php"); class BlogDBM extends DBManager { private $table = "blog_records"; function saveRecord($title,$url,$desc,$feedId,$pubDate) { $PDO = $this->db->connect(); try { $query = $PDO->prepare(" INSERT INTO ".$this->table." (title,url,desc,feed_id,pubdate) VALUES (:title,:url,:desc,:feed_id,:pubdate)"); $query-