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

2007-04-29 Thread Chris
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/ -

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

2007-04-27 Thread bedul
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" <[EMAIL PROTECTED]> To: Sent: Saturday, April 28, 2007 12:15 AM Subject: [PHP-DB] error logging MySQL syntax errors?

RE: [PHP-DB] error logging MySQL syntax errors?

2007-04-27 Thread Dwight Altman
wight > -Original Message- > From: Kevin Murphy [mailto:[EMAIL PROTECTED] > Sent: Friday, April 27, 2007 12:49 PM > To: [EMAIL PROTECTED] > Cc: php-db@lists.php.net > Subject: Re: [PHP-DB] error logging MySQL syntax errors? > > put: > > echo mysql_erro

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

2007-04-27 Thread Kevin Murphy
put: echo mysql_error(); right after the sql query. -- Kevin Murphy Webmaster: Information and Marketing Services Western Nevada Community College www.wncc.edu 775-445-3326 On Apr 27, 2007, at 10:15 AM, Tim McGeary wrote: I am getting semi-ambiguous messages in the browser like: You h

[PHP-DB] error logging MySQL syntax errors?

2007-04-27 Thread Tim McGeary
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 M