Re: displaying a rowset in php...same column names - Mailing list pgsql-php

From Enver ALTIN
Subject Re: displaying a rowset in php...same column names
Date
Msg-id 1073474074.31454.3.camel@skyblue.office.frontsite.com.tr
Whole thread Raw
In response to displaying a rowset in php...same column names  (Michael Hanna <taojones@sympatico.ca>)
Responses Re: displaying a rowset in php...same column names
List pgsql-php
On Wed, 2004-01-07 at 05:09, Michael Hanna wrote:
> This query: SELECT login, firstname, lastname, date_part('epoch',
> lastlogin), date_part('epoch', regdate) FROM admin ORDER BY login
> results in:
>
>     login   |    firstname     |    lastname     |    date_part     |
> date_part

SELECT foo as bar,bar as foo from footable

notice the "as" thingie. It would help.
--
 __________
|          |
|          |  Enver ALTIN (a.k.a. skyblue)
|          |  Software developer, IT consultant
|    FRONT |
|==========|  FrontSITE Bilgi Teknolojisi A.Ş.
|_____SITE_|  http://www.frontsite.com.tr/

Attachment

pgsql-php by date:

Previous
From: Christopher Kings-Lynne
Date:
Subject: Re: displaying a rowset in php...same column names
Next
From: "Gavin M. Roy"
Date:
Subject: Re: displaying a rowset in php...same column names