Re: MySQL connection: Change on syntaxis?

From: Date: Fri, 22 Jun 2001 07:27:23 +0000
Subject: Re: MySQL connection: Change on syntaxis?
Groups: php.db 
Request: Send a blank email to php-db+get-9719@lists.php.net to get a copy of this message
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@bigital.com> To: PHP List <php-db@lists.php.net> 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: php-db-unsubscribe@lists.php.net For additional commands, e-mail: php-db-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.db (#9719) next »