Date: 01/28/00
- Next message: olga: "[PHPLIB-DEV] OCINewCursor"
- Previous message: Heiko Roth: "Re: [PHPLIB-DEV] cvs commit"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
------------------
I've seen some questions in the PHPLIB mailing list asking why the
num_fields() function always returns 0 (in db_mysql.inc). The assumption,
after reading this, is that they are on a system with version 3.23 instead
of 3.22.
In the PHP3 documentation I have, there is no supported mysql_field_count()
function. That means we're at the mercy of a version of PHP3 that needs
updating to be compatible with MySQL 3.23 (perhaps it has been updated and I
just don't know about it. I'd like to think someone else has noticed this
before and hopefully there is a fix for it).
My host currently uses version 3.22.19. However, there is talk of updating
soon. This scares me because it will break several dozen (or more) scripts.
Comments?
-
PHPLIB Developers Mailing List. Send messages to <phplib-dev <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-dev-request <email protected>> in
the body, not the subject, of your message.
- Next message: olga: "[PHPLIB-DEV] OCINewCursor"
- Previous message: Heiko Roth: "Re: [PHPLIB-DEV] cvs commit"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

