Hi,
the '@' is an error control operator avaialble in all php versions. When
prepended to an expression in PHP, any error messages that might be
generated by that expression will be ignored.
Check the PHP Manual for more info.

Dobromir Velev

-----Original Message-----
From: Tomás García Ferrari <[EMAIL PROTECTED]>
To: PHP List <[EMAIL PROTECTED]>
Date: Friday, June 22, 2001 7:33 AM
Subject: [PHP-DB] MySQL connection: Change on syntaxis?


Hello,

I updated php to version 4.0.5 and MySQL to version 2.32.39, had errors on
lines like this:

    $rows = mysql_num_rows($result);

and noticed that this is a solution:

    $rows = @mysql_num_rows($result);

Is this a new use of the function mysql_num_rows?

+--                                         --+
       Tomás García Ferrari
       Bigital
       http://bigital.com/
+--                                         --+



--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to