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.