CodeCharge Studio

num_rows Method (PHP)

Applies to

Connection Object

Syntax

<connection>->num_rows(field)

Return value

number

Description

This method returns the number of rows accessible in the currently active recordset for a particular connection.

Note:

This method is not applied (it always returns 0) if the Oracle OCI database library is used.

See also

query Method


On-line, printable versions and updates