odbc_field_name

(PHP3 >= 3.0.6, PHP4 )

odbc_field_name -- Get the columnname

Description

string odbc_field_name (int result_id, int field_number)

odbc_field_name() will return the name of the field occupying the given column number in the given ODBC result identifier. Field numbering starts at 1. false is returned on error.