English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The odbc_field_name() function gets the column name
string odbc_field_name ( resource $result_id , int $field_number )
Get the name of the field that occupies the given column number in the given result identifier.
Returns the field name as a string, or False if an error occurs.
Number | Parameters and descriptions |
---|---|
1 | result_id Result identifier. |
2 | field_number Field number. The field number starts from1Start. |