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" <[EMAIL PROTECTED]> > Date: > > Sun, 30 Dec 2001 18:44:44 -0500 > To: > > [EMAIL PROTECTED] > > To: > > [EMAIL PROTECTED] > > > 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 [EMAIL PROTECTED] Java Linux Apache Mysql Php (JLAMP) Engineer (301) 362-1750 Mobile (410) 419-8588 AIM, MSN: xaymaca2020 , Yahoo Messenger: vks_jamaica -- 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]