, 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
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
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
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
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
- 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
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
7 matches
Mail list logo