English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Basic PHP Tutorial

Advanced PHP Tutorial

PHP & MySQL

PHP Reference Manual

Usage and examples of PHP odbc_field_type() function

PHP ODBC Reference Manual

The data type of the field of the odbc_field_type() function

Syntax

string odbc_field_type ( resource $result_id , int $field_number )

Definition and usage

It is used to obtain information about the field data type

Return value

Returns the field type as a string, returns False if an error occurs.

Parameter

Serial numberParameters and descriptions
1

result_id

Result identifier.

2

field_number

Field number, starting from1Start

PHP ODBC Reference Manual