note 124024 added to book.pdo
| From: | davawardana969 at gmail dot com | Date: | Mon, 08 Jul 2019 10:12:34 +0000 |
| Subject: | note 124024 added to book.pdo | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-211538@lists.php.net to get a copy of this message | ||
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?
----
Server IP: 208.43.231.9
Probable Submitter: 195.138.250.34 (proxied: 115.178.251.179)
----
Manual Page -- http://php.net/manual/en/book.pdo.php
Edit -- https://master.php.net/note/edit/124024
Del: integrated -- https://master.php.net/note/delete/124024/integrated
Del: useless -- https://master.php.net/note/delete/124024/useless
Del: bad code -- https://master.php.net/note/delete/124024/bad+code
Del: spam -- https://master.php.net/note/delete/124024/spam
Del: non-english -- https://master.php.net/note/delete/124024/non-english
Del: in docs -- https://master.php.net/note/delete/124024/in+docs
Del: other reasons-- https://master.php.net/note/delete/124024
Reject -- https://master.php.net/note/reject/124024
Search -- https://master.php.net/manage/user-notes.php