Re: Supress MySQL error messages...

From: Date: Tue, 27 May 2003 15:06:41 +0000
Subject: Re: Supress MySQL error messages...
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-28092@lists.php.net to get a copy of this message
> Does anyone know if it is possible to suppress MySQL error messages? > > For example > > > Warning: mysql_num_rows(): supplied argument is not a valid MySQL result > resource in /var/www/killerspin/public/preview_checkout.php on line 25 Stop using mysql functions on invalid result sets? > This is just for testing... Oh, in that case, use @ $num = @mysql_num_rows($rs); ---John Holmes...

« previous php.db (#28092) next »