php-db | 2001062
Date: 06/22/01
- Next message: Russ Michell: "Re: [PHP-DB] 1 is not a valid PostgreSQL link resource"
- Previous message: Dobromir Velev: "Re: [PHP-DB] Connecting to MySQL"
- Maybe in reply to: Tomás Garca Ferrari: "[PHP-DB] MySQL connection: Change on syntaxis?"
- Next in thread: Russ Michell: "Re: [PHP-DB] MySQL connection: Change on syntaxis?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 <tgf <email protected>>
To: PHP List <php-db <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 = <email protected>($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: 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>-- 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: Russ Michell: "Re: [PHP-DB] 1 is not a valid PostgreSQL link resource"
- Previous message: Dobromir Velev: "Re: [PHP-DB] Connecting to MySQL"
- Maybe in reply to: Tomás Garca Ferrari: "[PHP-DB] MySQL connection: Change on syntaxis?"
- Next in thread: Russ Michell: "Re: [PHP-DB] MySQL connection: Change on syntaxis?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

