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: > > >>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, >> >> > > > Mail scanat cu RAV Antivirus! -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
