Re: mysql_fetch_object

From: Date: Mon, 28 Jun 2004 17:13:44 +0000
Subject: Re: mysql_fetch_object
References: 1 2 3 4  Groups: php.db 
Request: Send a blank email to php-db+get-35023@lists.php.net to get a copy of this message
How does it handle fully qualified conflicting columns, like 'select a.name, b.name from a, b'?
It won't handle that properly; in your example $row->name would be b.name (it'd overwrite a.name). You have to alias same-named columns. Hans
Ok, I don't have that case but I was curious.

« previous php.db (#35023) next »