Returns the number of rows that the $result contains.
int sasql_num_rows( sasql_result $result )
A positive number if the number of rows is exact, or a negative number if it is an estimate. To get the exact number of rows, the database option row_counts must be set permanently on the database, or temporarily on the connection.