php-db | 2001062
Date: 06/22/01
- Next message: David Robinson (AU): "[PHP-DB] Accessing a Berkeley DB V1.85 using PHP V4.0.5"
- Previous message: Vandana: "[PHP-DB] Oracle-PHP"
- In reply to: Tomás Garca Ferrari: "[PHP-DB] MySQL connection: Change on syntaxis?"
- Next in thread: Paul Burney: "Re: [PHP-DB] MySQL connection: Change on syntaxis?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 = <email protected>($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. tech <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: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: David Robinson (AU): "[PHP-DB] Accessing a Berkeley DB V1.85 using PHP V4.0.5"
- Previous message: Vandana: "[PHP-DB] Oracle-PHP"
- In reply to: Tomás Garca Ferrari: "[PHP-DB] MySQL connection: Change on syntaxis?"
- Next in thread: Paul Burney: "Re: [PHP-DB] MySQL connection: Change on syntaxis?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

