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

PHP ODBC Reference Manual

The odbc_fetch_array() function retrieves the result rows as an associated array.

Syntax

array odbc_fetch_array ( resource $result [, int $rownumber ] )

Definition and usage

It is used to get the result rows as an associated array

Return value

Returns the associated array obtained when successful, and returns false when failed

Parameter

Serial numberParameters and descriptions
1

result

It contains the result resource from odbc_exec()

2

rownumber

It contains information about the number of rows to be retrieved

PHP ODBC Reference Manual