odbc_field_num

 int odbc_field_num ( resource $result_id , string $field_name ) 

説明

Gets the number of the column slot that corresponds to the named field in the given result identifier.

戻り値

Returns the field number as a integer, or FALSE on error. Field numbering starts at 1.