php-general | 2001122
Date: 12/30/01
- Next message: Bogdan Stancescu: "Re: [PHP] Including images from Internet"
- Previous message: Bogdan Stancescu: "Re: [PHP] Bit shifting conversion (Delphi -> PHP)"
- In reply to: Bogdan Stancescu: "Re: [PHP] mysql_fetch_array"
- Next in thread: Vincent Stoessel: "Re: [PHP] mysql_fetch_array"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 <mgv <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: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>Mehmet Erisen http://www.erisen.com
--------------------------------- Do You Yahoo!? Send your FREE holiday greetings online at Yahoo! Greetings.
- Next message: Bogdan Stancescu: "Re: [PHP] Including images from Internet"
- Previous message: Bogdan Stancescu: "Re: [PHP] Bit shifting conversion (Delphi -> PHP)"
- In reply to: Bogdan Stancescu: "Re: [PHP] mysql_fetch_array"
- Next in thread: Vincent Stoessel: "Re: [PHP] mysql_fetch_array"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

