For Programmers: Free Programming Magazines  


Home > Archive > PHP DB > April 2007 > Re: [PHP-DB] error logging MySQL syntax errors?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PHP-DB] error logging MySQL syntax errors?
bedul

2007-04-27, 9:57 pm

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@Lehigh.EDU>
To: <php-db@lists.php.net>
Sent: Saturday, April 28, 2007 12:15 AM
Subject: [PHP-DB] error logging MySQL syntax errors?


> I am getting semi-ambiguous messages in the browser like:
>
>
> 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

Chris

2007-04-29, 6:58 pm

bedul wrote:
> plz remind to send to us your aplication.. the problem may cause from your
> sintax don't match the version


No - *don't* send us your application.

Only send us the relevant lines from the script if you can't work it out.

--
Postgresql & php tutorials
http://www.designmagick.com/
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com