RE: [PHP] mysql not reporting errors

2001-02-10 Thread PHPBeginner.com
, February 10, 2001 7:12 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] mysql not reporting errors - Original Message - From: "Christian Dechery" WHy PHP is not showing SQL syntax (or any) errors? I'm using Win98Me with Apache 1.3.12 and PHP 4.x. it works... if I run a correct que

[PHP] mysql not reporting errors

2001-02-09 Thread Christian Dechery
WHy PHP is not showing SQL syntax (or any) errors? I'm using Win98Me with Apache 1.3.12 and PHP 4.x. it works... if I run a correct query it runs normally, but if I go like: $query="selct nonexistingfield from nonexistingtable with all crazy syntax"; mysql_query($query); it doesn't tell me

RE: [PHP] mysql not reporting errors

2001-02-09 Thread Christian Dechery
At 15:42 9/2/2001 +0100, Dominick Vansevenant wrote: Try to put this immediately after the mysql_query: echo mysql_errno().": ".mysql_error()."BR"; I think this outputs your error. yeah, I know that... but it used to report automatically... and this is kinda stupid don't u think? there's no

Re: [PHP] mysql not reporting errors

2001-02-09 Thread Jason Stechschulte
On Fri, Feb 09, 2001 at 12:48:46PM -0200, Christian Dechery wrote: yeah, I know that... but it used to report automatically... and this is kinda stupid don't u think? Yes, I do agree that it was kind of stupid to report automatically. It is much better to allow the user to trap the error

Re: [PHP] mysql not reporting errors

2001-02-09 Thread Martin A. Marques
El Vie 09 Feb 2001 11:38, Christian Dechery escribi: WHy PHP is not showing SQL syntax (or any) errors? I'm using Win98Me with Apache 1.3.12 and PHP 4.x. it works... if I run a correct query it runs normally, but if I go like: $query="selct nonexistingfield from nonexistingtable with all

Re: [PHP] mysql not reporting errors

2001-02-09 Thread Anna
- Original Message - From: "Christian Dechery" WHy PHP is not showing SQL syntax (or any) errors? I'm using Win98Me with Apache 1.3.12 and PHP 4.x. it works... if I run a correct query it runs normally, but if I go like: $query="selct nonexistingfield from nonexistingtable with

RE: [PHP] mysql not reporting errors

2001-02-09 Thread Dominick Vansevenant
Subject: [PHP] mysql not reporting errors WHy PHP is not showing SQL syntax (or any) errors? I'm using Win98Me with Apache 1.3.12 and PHP 4.x. it works... if I run a correct query it runs normally, but if I go like: $query="selct nonexistingfield from nonexistingtable with all crazy sy