odbc_field_name

(PHP 3>= 3.0.6, PHP 4 >= 4.0b1)

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.