Re: mysql_fetch_array

From: Date: Mon, 31 Dec 2001 00:43:24 +0000
Subject: Re: mysql_fetch_array
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-79077@lists.php.net to get a copy of this message
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@fx.ro> 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@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net Mehmet Erisen http://www.erisen.com --------------------------------- Do You Yahoo!? Send your FREE holiday greetings online at Yahoo! Greetings.

« previous php.general (#79077) next »