Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2001062

Re: [PHP-DB] MySQL connection: Change on syntaxis? From: Paul Burney (burney <email protected>)
Date: 06/22/01

on 6/21/01 2:30 PM, Tomás García Ferrari at tgf <email protected> wrote:

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

What are the error messages you get? The @ symbol suppresses warning
messages being sent to the browser so it isn't "fixing" whatever the real
problem is.

Sincerely,

Paul Burney

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Paul Burney
Webmaster && Open Source Developer
UCLA -> GSE&IS -> ETU
(310) 825-8365
<webmaster <email protected>>
<http://www.gseis.ucla.edu/>
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

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