Re: mysql not reporting errors

From: Date: Fri, 09 Feb 2001 14:46:29 +0000
Subject: Re: mysql not reporting errors
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-38950@lists.php.net to get a copy of this message
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 crazy > syntax"; mysql_query($query); > > it doesn't tell me there's an error... in fact it doesn't show anything... > why is that? Check the apache error log. Saludos... ;-) -- System Administration: It's a dirty job, but someone told I had to do it. ----------------------------------------------------------------- Martín Marqués email: martin@math.unl.edu.ar Santa Fe - Argentina http://math.unl.edu.ar/~martin/ Administrador de sistemas en math.unl.edu.ar -----------------------------------------------------------------

« previous php.general (#38950) next »