Re: how to list column names.

Started by Martinabout 18 years ago1 messagesgeneral
Jump to latest
#1Martin
martin@cornhobble.com

In article <dc1df5d8-904f-4517-be04-2f67691da054@l32g2000hse.googlegroups.com>,
Rowan <yaardone@gmail.com> wrote:

Postgres 8.2 using php5

what is the simplest way to request column names ?

The pg_field_name is simple:

http://us3.php.net/manual/en/function.pg-field-name.php