note 28866 added to function.mysql-fetch-assoc

From: Date: Sun, 26 Jan 2003 14:58:42 +0000
Subject: note 28866 added to function.mysql-fetch-assoc
Groups: php.notes 
Request: Send a blank email to php-notes+get-42765@lists.php.net to get a copy of this message
if you use this SQL query: SELECT start_super_super_collections.name, start_super_collections.name ....... and then get the result with mysql_fetch_assoc() then you'll get only ONE result collumn keyed by 'name'. use mysql_fetch_row() instead, then you'll get TWO collumns keyed 0 and 1. -- http://www.php.net/manual/en/function.mysql-fetch-assoc.php http://master.php.net/manage/user-notes.php?action=edit+28866 http://master.php.net/manage/user-notes.php?action=delete+28866 http://master.php.net/manage/user-notes.php?action=reject+28866

« previous php.notes (#42765) next »