Skip to content
This repository

NumRows

NumRows ( [ string $pointer_id ] )

Returns number of records included in response from previous SearchQuery(). Note the difference between TotalRecordsFound()

Parameters

$pointer_id - The returned value from SearchQuery(). If not given, defaults to last SearchQuery() pointer

Return Value

Integer

Represents number of records returned in the last SearchQuery() response.

Changelog

1.0rc2 - Made $pointer_id a parameter that can be passed

Usage Examples
<?php
if ($rets->NumRows() > 1000) {
        echo "More than 1,000 rows returned in last response.\n";
}
Related To

SearchQuery, IsMaxrowsReached, TotalRecordsFound

Something went wrong with that request. Please try again.