Re: mysql_field_name equivalent

From: CoL <col(at)mportal(dot)hu>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: mysql_field_name equivalent
Date: 2003-12-31 15:48:00
Message-ID: bsuqqv$7n9$2@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hi,

Mace, Richard wrote, On 12/31/2003 12:59 PM:

> Is there a PostgreSQL equivalent command to the mysql_field_name command above?
>
> I am running a select query (7.2) and would like to get the name of the columns I am selecting
> too, in order to output a header line to an external file, with the result of the select.
>
> Has anyone done this or similar?

you probably want this from php. Better to use, ask at
comp.databases.postgresql.interfaces.php for php related questions.

try the php documentation and check: pg_field_name

C.

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Sergio L. Garza M. 2003-12-31 21:59:46 "Unknown DBI error" when trying to view data on some tables...
Previous Message Mace, Richard 2003-12-31 11:59:22 mysql_field_name equivalent