Re: Help with a query please - unable to error check!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux