int odbc_num_fields ( resource $result_id )
Gets the number of fields (columns) in an ODBC result.
Returns the number of fields, or -1 on error.