note 1255 deleted from mysql_fetch_array by danbeck

From: Date: Thu, 07 Sep 2000 15:33:06 +0000
Subject: note 1255 deleted from mysql_fetch_array by danbeck
Groups: php.notes 
Request: Send a blank email to php-notes+get-4374@lists.php.net to get a copy of this message
Actually the associative array is not indexed by field name but by "select name". That means if you apply a mysql function to the selected data (e.g Select FROM_UNIXTIME(date) from datatable where ...) the key of the array is not "date" but "FROM_UNIXTIME(date)" what is indeed very annoying.

« previous php.notes (#4374) next »