For smart Primates & ROBOTS (oh and ALIENS ).

Blogroll

Thursday, October 29, 2015

PDOException' with message 'SQLSTATE[42000 Syntax error or access violation: 1064

Problem:


How to fix following PHP PDO error
exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line


Solution:


It means you are missing small brackets ')' in your sql statement.
Share:

0 comments:

Post a Comment

Multiple attribute passing in querySelectorAll

Multiple attribute passing in querySelectorAll     Here I am demonstrating code to how to pass multiple attributes in querySelectorAll. <...

Ads Inside Post

Powered by Blogger.

Arsip