Hi,
In your SQL, you can say
select t1.col colt1, t2.col colt2
from table1 t1, table2 t2
where t1.something = t2.samething
In other words, you can name your columns differently in your select clause.
I
  Bogdan Stancescu <[EMAIL PROTECTED]> wrote: If everything else fails, you should consider 
using mysql_fetch_row() instead.

Bogdan

Greg Sidelinger wrote:

> Ok I have use mysql_fetch_array to dump the results of a select query with a
> join in it.
> if my tables contain a column with the same name how can I distinguish from
> them.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


Mehmet Erisen
http://www.erisen.com


---------------------------------
Do You Yahoo!?
Send your FREE holiday greetings online at Yahoo! Greetings.

Reply via email to