Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2001122

Re: [PHP] mysql_fetch_array From: Vincent Stoessel (vincent <email protected>)
Date: 12/31/01

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 <email protected>>
> Date:
>
> Sun, 30 Dec 2001 18:44:44 -0500
> To:
>
> php-general <email protected>
>
> To:
>
> php-general <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 vincent <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: 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>