Re: error logging MySQL syntax errors?

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

 



plz remind to send to us your aplication.. the problem may cause from your
sintax don't match the version
----- Original Message -----
From: "Tim McGeary" <tmm8@xxxxxxxxxx>
To: <php-db@xxxxxxxxxxxxx>
Sent: Saturday, April 28, 2007 12:15 AM
Subject:  error logging MySQL syntax errors?


> I am getting semi-ambiguous messages in the browser like:
>
> > 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 4
>
> Is there a way in my PHP script to turn on a logging that is more
> specific about which MySQL statement in the page is the problem?  "line
> 4" certainly doesn't help.
>
> Tim
>
>


----------------------------------------------------------------------------
----


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

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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux