Re: Column names

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



on 11/3/02 2:26 AM, kelvin@xxxxxxxx purportedly said:

> When I make a simple "SELECT * FROM table;" query, is there somewhere in
> that query I can find the names of the columns?

What exactly do you need to do? The column names are available to PHP. You
can determine them dynamically by using pg_fetch_assoc() and applying
array_keys() to the resulting aray.

Keary Suska
Esoteritech, Inc.
"Leveraging Open Source for a better Internet"



[Index of Archives]     [Postgresql General]     [Postgresql Admin]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Backpacking]     [Postgresql Jobs]

  Powered by Linux