odbc_field_type

(PHP3 >= 3.0.6, PHP4 )

odbc_field_type -- Datatype of a field

Description

string odbc_field_type (int result_id, int field_number)

odbc_field_type() will return the SQL type of the field referecend by number in the given ODBC result identifier. Field numbering starts at 1.