Could it be a quote-escaping problem?

It would be easier to tell if you could show us the query and the code you're using.

/Mattias

Shaun wrote:

Hi,

I have a problem with a query, I get the following error message:

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 23

If I echo the query to the screen and run the query to the database via SSH it executes correctly.

Does anyone have any ideas on what else I can check for here?

Thanks.




-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to