sybase_num_rows

Returns the number of rows in the result set of a SELECT statement.

sybase_num_rows() returns the correct number of rows when the complete result set has been read.

Syntax

int sybase_num_rows(resource $result)

Parameters

Returns

The number of rows in the result set.

FALSE – failed to retrieve the number of rows.