[PHP-DEV] Bug #3349: mysql_num_fields() function has changed - now use mysql_field_count From: xendra <email protected>
Date: 01/29/00

From: xendra <email protected>
Operating system: Linux
PHP version: 3.0.14
PHP Bug Type: MySQL related
Bug description: mysql_num_fields() function has changed - now use mysql_field_count

I've been studying the MySQL documentation and found the following:
------------------
4.16.1 Upgrading from a 3.22 version to a 3.23

<...removed for brevity>

The following lists what you have to watch out for when upgrading to 3.23

<...removed for brevity>

o mysql_num_fields() can no longer be used on a MYSQL* object (it's now a function that takes MYSQL_RES* as an argument. You should now use mysql_field_count() instead.
------------------

It's in the on-line MySQL documentation...

My host shows that we are using PHP 3.06, which isn't in your list, so I selected the 3.0.14 version. They will be upgrading to MySQL 3.23 shortly, so this concerns me that a number of my scripts will break; at least the ones that rely on mysql_num_fields.

Jeff

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>