mysql_connect error messages when supressing direkt error messages by prepending @
| From: | Gerhard Schmidt | Date: | Sun, 23 Jan 2000 12:28:05 +0000 |
| Subject: | mysql_connect error messages when supressing direkt error messages by prepending @ | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-14857@lists.php.net to get a copy of this message | ||
Hi,
I Just modified my scripts to suppress the direct Error messages when
mysql_connect fails. But now I am not able to geht the error message by
call mysql_error or mysql_errno. This make finding a problem with
mysql_connect very difficult.
IMHO it´ would be a good ID to store the failed connection as if it
was sccessful enabling the mysqlclients to suply us with the error
message failed MYSQL structure can be freed on a subsequent call or
the end of the script when all other Connections closed and freed.
Gerhard Schmidt
--
--------------------------------------------------------------------------
Gerhard Schmidt | Nick : estartu IRC : Estartu |
Fischbachweg 3 | | PGP Public Key
86856 Hiltenfingen | estartu@augusta.de | auf Anfrage/
Tel: 08232 77 36 4 | | on request
Fax: 08232 77 36 3 | |
Attachment: [application/pgp-signature]
Attachment: [application/pgp-signature]