Troy Davisson edited this page Mar 5, 2016 · 2 revisions

Note: This page documents capabilities available in the older 1.x version. Please see this repository's README file for the new 2.x version documentation.


NumRows ( [ string $pointer_id ] )

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


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

Return Value


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


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

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

SearchQuery, IsMaxrowsReached, TotalRecordsFound