note 124024 rejected from book.pdo by cmb

From: Date: Mon, 08 Jul 2019 10:56:56 +0000
Subject: note 124024 rejected from book.pdo by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-211539@lists.php.net to get a copy of this message
Note Submitter: davawardana969 at gmail dot com ---- Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '='1'' at line 1 in D:\xampp\htdocs\phpmvc\app\core\Database.php on line 62 and in line 62 i have script public function execute() { $this->stmt->execute(); } what wrong? can you fix my script?

« previous php.notes (#211539) next »