note 13220 deleted from function.mysql-error by jimw

From: Date: Tue, 18 Dec 2001 22:44:30 +0000
Subject: note 13220 deleted from function.mysql-error by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-23278@lists.php.net to get a copy of this message
It seems that you DO get an error message from mysql. For instance if you just issue the command: $result = mysql_query($sql); without anything else, you get the error "Warning: MySQL: A link to the server could not be established in ... ". It would make more sense to only get this error with mysql_error(). BTW -- Putting an @ symbol infront of the command then negates the return of the error even WITH mysql_error(). daben

« previous php.notes (#23278) next »