Re: Column headers
| From: | Casey Allen Shobe | Date: | Tue, 02 Jul 2002 14:19:05 +0000 |
| Subject: | Re: Column headers | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-20265@lists.php.net to get a copy of this message | ||
Whoops, should have been more clear.
I'm looking for something to work with ODBC, and also Sybase. I'm already
fetching the data fine, but can't figure out how to get the column headers.
On Tuesday 02 July 2002 09:50 am, Casey Allen Shobe wrote:
> How can I get the column headers from a query?
>
> For example, on a 'select blah, blah2, blah3, something as blah4 from
> whereever', I would want the blah, blah2, blah3, blah4, preferably in an
> array.
>
> Thanks,
--
Casey Allen Shobe / Network Security Analyst & PHP Developer
SecureWorks, Inc. / 404.327.6339 x169 / Fax: 404.728.0144
cshobe@secureworks.net / http://www.secureworks.net
Content is my own and does not necessarily represent my company.