Re: Column headers
| From: | Bogdan Stancescu | Date: | Tue, 02 Jul 2002 14:32:04 +0000 |
| Subject: | Re: Column headers | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-20266@lists.php.net to get a copy of this message | ||
odbc_num_fields() and odbc_field_name() in this case :-)
Bogdan
Casey Allen Shobe wrote:
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:Mail scanat cu RAV Antivirus!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,