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

PHP ODBC Reference Manual

The odbc_fetch_into() function extracts a result row into an array.

Syntax

int odbc_fetch_into ( resource $result_id, array &$result_array[, int $rownumber] )

Definition and usage

It is used to extract the result into the row

Return value

It returns the number of columns in the row, otherwise it returns an error

Parameter

Serial numberParameters and descriptions
1

result_id

It contains information about the result resource

2

result_array

It contains the result array and starts from index 0

3

rownumber

It contains line numbers

PHP ODBC Reference Manual