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_num_rows() Function

PHP ODBC Reference Manual

The odbc_num_rows() function returns the number of rows in the result

Syntax

int odbc_num_rows ( resource $result_id )

Definition and Usage

It contains information about the number of rows in the result

Return Value

Returns the number of rows in the ODBC result. This function will return-1.

Parameter

NumberParameters and Description
1

result_id

Result Identifier

PHP ODBC Reference Manual