RE: [PEAR] get table names
| From: | Chuck Burgess | Date: | Fri, 02 Feb 2007 14:30:49 +0000 |
| Subject: | RE: [PEAR] get table names | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-26477@lists.php.net to get a copy of this message | ||
Is there perhaps an optional arg to getColumnNames() that could tell it to
prefix the table name in front of each column name? If not, could it be
added?
Chuck
On 2/2/07, Alexey Borzov <borz_off@cs.msu.su> wrote:
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? -- PEAR General Mailing List ( http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php