odbc_field_num

(3.0.6 - 3.0.18 only, PHP 4 >= 4.0.0)

odbc_field_num -- Return column number

Description

int odbc_field_num (int result_id, string field_name)

odbc_field_num() will return the number of the column slot that corresponds to the named field in the given ODBC result identifier. Field numbering starts at 1. FALSE is returned on error.