Scholar Repository
Home>Manual>Get number of rows in result

Get number of rows in result


msql_num_rows

(PHP 4, PHP 5)

msql_num_rowsGet number of rows in result

Description

int msql_num_rows ( resource $query_identifier )

msql_num_rows() returns the number of rows in a result set.

Parameters

result

The result resource that is being evaluated. This result comes from a call to msql_query().

Return Values

Returns the number of rows in the result set.

See Also


Home>Manual>Get number of rows in result