ID: 12895 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: MySQL related Operating System: Debian 2.2 PHP Version: 4.0.6 New Comment: ohh sorry, should be mysql_fetch_array, sorry for mistake Previous Comments: ------------------------------------------------------------------------ [2001-08-28 04:40:10] [EMAIL PROTECTED] mysql_fetch_row does NOT return an associative array. Use mysql_fetch_array or mysql_fetch_assoc instead. ------------------------------------------------------------------------ [2001-08-22 09:49:07] [EMAIL PROTECTED] 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 this bug report at http://bugs.php.net/?id=12895&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]