MySQL Forums
Forum List  »  MyISAM

Re: Help! Cant resolve error: "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 2"
Posted by: Ingo Strüwing
Date: March 09, 2006 05:51AM

Hi,

you may get better help in the PHP forum.

In my opinion, the error message does not point you to line 2.
It says that the syntax error in your command is located near the characters " at line 2". I guess somehow a PHP error message goes its way to the server, who tries to interpret it as a SQL statement.

I have too little experience with PHP to point you to the faulty line in your script. I suggest you trace the script somehow to find out, at which place in the script this error is created.

Regards

Ingo Strüwing, Senior Software Developer - Storage Engines
MySQL AB, www.mysql.com

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Help! Cant resolve error: "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 2"
1936
March 09, 2006 05:51AM


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.