Re: Join table with clashing fieldnames
| From: | tedd | Date: | Wed, 08 Nov 2006 14:14:30 +0000 |
| Subject: | Re: Join table with clashing fieldnames | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-244373@lists.php.net to get a copy of this message | ||
At 1:22 PM +0000 11/8/06, Kris Leech wrote:
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.Kris: Both this list and you might be better served if you directed your mysql question to a mysql list. Try: http://lists.nyphp.org/mailman/listinfo/mysql Best, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com