PHP 4.0 Bug #9140: mysql_fetch_array($query, MYSQL_ASSOC) returns assoc AND num indexes
| From: | kbertone at bigfoot dot com | Date: | Wed, 07 Feb 2001 05:02:06 +0000 |
| Subject: | PHP 4.0 Bug #9140: mysql_fetch_array($query, MYSQL_ASSOC) returns assoc AND num indexes | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-45925@lists.php.net to get a copy of this message | ||
From: kbertone@bigfoot.com
Operating system: Unix and Windows
PHP version: 4.0.4
PHP Bug Type: MySQL related
Bug description: mysql_fetch_array($query, MYSQL_ASSOC) returns assoc AND num indexes
mysql_fetch_array($query, MYSQL_ASSOC) seems to return BOTH the numerical AND the associative
indexes (should only return associative). Have tried mysql_fetch_assoc($query) and I get the same
problem. Running PHP 4.0.4 on both Unix and Windows and problem appears on both. Am I crazy?
--
Edit Bug report at: http://bugs.php.net/?id=9140&edit=1