RE: [PHP] mysql not reporting errors
| From: | Christian Dechery | Date: | Fri, 09 Feb 2001 14:48:46 +0000 |
| Subject: | RE: [PHP] mysql not reporting errors | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-38951@lists.php.net to get a copy of this message | ||
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 way someone can code having to stop at every query line of code to see if there was an mysql_error().... _________________________________ . Christian Dechery - Webdeveloper .. Diretor de Tecnologia @ Webstyle! .. http://www.webstyle.com.br .. http://www.tanamesa.com.br