mysql_fetch_assoc() bug with mysql 4.1 and fields escaping?
| From: | Clément MOULIN | Date: | Thu, 02 Dec 2004 12:55:28 +0000 |
| Subject: | mysql_fetch_assoc() bug with mysql 4.1 and fields escaping? | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-37524@lists.php.net to get a copy of this message | ||
Hi,
We have recently upgraded our mysql server from 4.0.X to 4.1.7.
But now, the mysql_fetch_array() & mysql_fetch_assoc() doesn't work anymore
when escaping fields names like that:
SELECT
name FROM db;
mysql_fetch_assoc() returns a associative arrays, but not with good key
names (somes binary characters like square character or '#B'...), and some
lines are missing.
With: SELECT name FROM db;
It works fine... But sometimes we _really_ need to escape field name.
Running php 4.3.9. Is it a known bug?
--
Clément Moulin
SimpleRezo - Simplifiez-vous le réseau !
Tél.: +33 871 763 102 - Web: http://www.simplerezo.com/