Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2001122

Re: [PHP] mysql_fetch_array From: Mehmet Kamil ERISEN (erisen <email protected>)
Date: 12/30/01

 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.