Re: column names
| From: | Steve Werby | Date: | Tue, 03 Apr 2001 22:58:46 +0000 |
| Subject: | Re: column names | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-46906@lists.php.net to get a copy of this message | ||
"Mauricio Junqueira" <mauzero@netzero.net> wrote:
> does anyone knows how to retrive information about the columns names of a
> table?
In MySQL use mysql_field_name(), in PostgreSQL use pg_fieldname().
> I know that is possible to use show table mytable using isql but
> I need to get information about the columns using sql.
> that information is to be accessed with a php script. so, I'm looking
> for something resembling "select info from table...."
Check the online manual for more functions and other databases.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/