php-general | 2001122
Date: 12/31/01
- Next message: Mike Eheler: "[PHP] Re: web mail clients?"
- Previous message: Mike Eheler: "[PHP] Re: Select box won't display in Netscape 4.xx"
- In reply to: Greg Sidelinger: "[PHP] mysql_fetch_array"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Next message: Mike Eheler: "[PHP] Re: web mail clients?"
- Previous message: Mike Eheler: "[PHP] Re: Select box won't display in Netscape 4.xx"
- In reply to: Greg Sidelinger: "[PHP] mysql_fetch_array"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

