Tomás García Ferrari pressed the little lettered thingies in this order...

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

The only thing that the "@" does is to supress errors.
http://www.php.net/manual/en/language.operators.errorcontrol.php

What's your code and the error(s) you're getting? mysql_num_rows still 
has identical syntax as it did in PHP3.

Christopher Ostmo
a.k.a. [EMAIL PROTECTED]
AppIdeas.com
Meeting cutting edge dynamic
web site needs

For a good time,
http://www.AppIdeas.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]

Reply via email to