note 17865 rejected from function.mysql-fetch-array by irc-html

From: Date: Sat, 29 Dec 2001 23:16:25 +0000
Subject: note 17865 rejected from function.mysql-fetch-array by irc-html
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-23946@lists.php.net to get a copy of this message
it would be quite useful if mysql_fetch_array would simply return the ResultColumn[tablename.fieldname] -- that is, INCLUDE THE TABLENAME AND THE FIELDNAME in the returned hash. do you have any idea how common it is to have exact same field names across tables in a db?! 99% common. think of "id" and "key" it seems negligently dumb to NOT include the tablename as part of the assoc. hash name that comes back from m_f_a, don't you agree? and there is no compile-time option in php to force this behavior?? so, what i'm understanding is the ludicrous requirement that every single field name in my (hundreds-of-fieldnames) database must be unique in order to get reliable results???

« previous php.notes (#23946) next »