Re: get table names

From: Date: Fri, 02 Feb 2007 14:26:32 +0000
Subject: Re: get table names
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-26476@lists.php.net to get a copy of this message
Hi, Marco Sottana wrote:
select * from table1 left join table2 on table1.id_table2=table2.id if i execute this query with getColumnNames() i get the name of the cols .. i would like to get for each cols also the name of the table
select foo from table_one union select foo from table_two; what table name do you expect to get for field "foo" of that query?

« previous php.pear.general (#26476) next »