note 21627 added to function.mysql-fetch-row

From: Date: Tue, 21 May 2002 17:15:10 +0000
Subject: note 21627 added to function.mysql-fetch-row
Groups: php.notes 
Request: Send a blank email to php-notes+get-30852@lists.php.net to get a copy of this message
mysql_fetch_row($resultset,MYSQL_ASSOC) no longer works. When you need the associative array (with field names) use instead $row=mysql_fetch_assoc($resultset); or $row=mysql_fetch_array($resultset,MYSQL_ASSOC); -- http://www.php.net/manual/en/function.mysql-fetch-row.php http://master.php.net/manage/user-notes.php?action=edit+21627 http://master.php.net/manage/user-notes.php?action=delete+21627 http://master.php.net/manage/user-notes.php?action=reject+21627

« previous php.notes (#30852) next »