Bug #12895: mysql_fetch_row

From: Date: Wed, 22 Aug 2001 13:49:07 +0000
Subject: Bug #12895: mysql_fetch_row
Groups: php.dev 
Request: Send a blank email to php-dev+get-64032@lists.php.net to get a copy of this message
From:             lampa@brutus.troja.mff.cuni.cz
Operating system: Debian 2.2
PHP version:      4.0.6
PHP Bug Type:     MySQL related
Bug description:  mysql_fetch_row

when i call mysql_fetch_row($result, MYSQL_BOTH) a should got associte
array, but don't.

if there are some fields with NULL only number is shown not name of field
-------------
Example:

fields in db: id, t1, n1
value 0, 'text', NULL

after mysql_fetch_row($result, MYSQL_BOTH), print_r returns:
Array([0] => 5 [id] => 5 [1] => 'text' [t1] => 'text' [2] => 2)

there is missing n1 => 2
-- 
Edit bug report at: http://bugs.php.net/?id=12895&edit=1



Thread (5 messages)

« previous php.dev (#64032) next »