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
- $result – the result resource that comes from a call to sybase_query().
Returns
The number of rows in the result set.
FALSE – failed to retrieve the number of rows.