Re: PHP 4.0 Bug #2854 Updated: mysql_fetch_field won't return object after fetch_row

From: Date: Mon, 29 Nov 1999 02:03:32 +0000
Subject: Re: PHP 4.0 Bug #2854 Updated: mysql_fetch_field won't return object after fetch_row
Groups: php.dev 
Request: Send a blank email to php-dev+get-13249@lists.php.net to get a copy of this message
What do you want from a newbie? OK, thanks for the tutorial and criticism, but it is still a bug, because it doesn't work the FIRST time, let alone through the iterations, or am I still missing something? Will look at fetch_array. -----Original Message----- From: Bug Database <php-dev@lists.php.net> To: john-marc@usa.net <john-marc@usa.net>; php-dev@lists.php.net <php-dev@lists.php.net> Date: Sunday, November 28, 1999 3:02 PM Subject: PHP 4.0 Bug #2854 Updated: mysql_fetch_field won't return object after fetch_row >ID: 2854 >Updated by: rasmus >Reported By: john-marc@usa.net >Status: Closed >Bug Type: MySQL related >Assigned To: >Comments: > >Your code doesn't make a lot of sense. It isn't like the field names are going to change from one row to the next, so there is no point putting the mysql_fetch_field() inside the row loop. >And if all you want is the name, see the mysql_fetch_array() function. Call it with a second arg of MYSQL_ASSOC > >Full Bug description available at: http://bugs.php.net/?id=2854 >

« previous php.dev (#13249) next »