RE: [PHP-DB] mysql_errno?

From: Date: Sun, 27 Oct 2002 14:52:29 +0000
Subject: RE: [PHP-DB] mysql_errno?
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-22730@lists.php.net to get a copy of this message
> I just looked at the function mysql_errno, where it says that > mysql_*-functions don't issue warnings anymore and that you have to > check for errors yourself... That's what I also want but is, for > example, the database is not reachable on a call to mysql_connect, the > function still triggers a warning itself. That may not include mysql_connect, just the functions you use after you are connected. Or it could be a matter of your error_reporting level. Use @mysql_connect() to suppress the warning. ---John Holmes...

« previous php.db (#22730) next »