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_number() function

PHP ODBC Reference Manual

The odbc_field_number() function returns the column number

Syntax

int odbc_field_num ( resource $result_id , string $field_name )

Definition and usage

It is used to get the column number

Return value

It returns the field number as an int value, and returns false if an error occurs

Parameter

NumberParameters and descriptions
1

result_id

Result identifier.

2

field_name

Field name.

PHP ODBC Reference Manual