note 106504 deleted from pdostatement.fetchall by danbrown

From: Date: Tue, 15 Nov 2011 16:18:47 +0000
Subject: note 106504 deleted from pdostatement.fetchall by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-184468@lists.php.net to get a copy of this message
Note Submitter: Andy B ---- @ Daniel Hofmann's comment It still doesn't solve the problem if you ever need to return the NULL result set. Any instance where you have to return two different tables with the same field name results in one field being returned. If PHP used the table alias and the field name for the returned array key then this behaviour could be avoided. The only alternative is to use a field alias in the SELECT, which I find undesirable. I have resorted to fixing all my field names with its table name prefix to give a unique fieldname throughout the entire database, its messy, but it avoids odd results.

« previous php.notes (#184468) next »