MySQL Forums
Forum List  »  PHP

Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064
Posted by: Emeka Anumnu
Date: January 29, 2019 08:40AM

Please kindly assist: This is what I get when I try to do an update of an image file.

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 '15487590130e7b6742f9d7e1a8a213d74b429b9e8f.jpeg where id = 80' at line 1 in C:\xamppp\htdocs\projects\nice\admin\includes\codes.php:32 Stack trace: #0 C:\xamppp\htdocs\projects\nice\admin\includes\codes.php(32): PDOStatement->execute() #1 C:\xamppp\htdocs\projects\nice\admin\includes\codes.php(1968): Login_Process->RunQuery('update nk_custo...', Object(PDO)) #2 C:\xamppp\htdocs\projects\nice\admin\photos.php(15): Login_Process->editCustomer(Array, Array, '') #3 {main} thrown in C:\xamppp\htdocs\projects\nice\admin\includes\codes.php on line 32

Options: ReplyQuote


Subject
Written By
Posted
Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064
January 29, 2019 08:40AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.