Join table with clashing fieldnames

From: Date: Wed, 08 Nov 2006 13:22:32 +0000
Subject: Join table with clashing fieldnames
Groups: php.general 
Request: Send a blank email to php-general+get-244368@lists.php.net to get a copy of this message
I have an SQL query which has a simple join, this works and is fine the fields from the secondary table are added to the returned array. But what happens if I add another JOIN to a table which has fields which are the same name? Is there any way to have PHP prefix the key's (fieldnames) of the joined fields? Many thanks, Kris.

« previous php.general (#244368) next »