> 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...

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to