Re: mysql_fetch_array

From: Date: Mon, 31 Dec 2001 17:42:02 +0000
Subject: Re: mysql_fetch_array
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-79134@lists.php.net to get a copy of this message
you can also do $queryString = "select table1.uid as 'my_uid' , table2.uid as 'their_uid' from table1, table2 where ... "; Greg Sidelinger wrote:
------------------------------------------------------------------------ Subject: [PHP] mysql_fetch_array From: "Greg Sidelinger" <gate@psu.edu> Date: Sun, 30 Dec 2001 18:44:44 -0500 To: php-general@lists.php.net To: php-general@lists.php.net 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. I'm used to table_name.value method in other languages but when I tried $row['table_name.value'] I don't get any values. can anyone point me in the right direction.
-- Vincent Stoessel vincent@xaymaca.com Java Linux Apache Mysql Php (JLAMP) Engineer (301) 362-1750 Mobile (410) 419-8588 AIM, MSN: xaymaca2020 , Yahoo Messenger: vks_jamaica

« previous php.general (#79134) next »