-
Notifications
You must be signed in to change notification settings - Fork 237
NumRows
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
Integer
Represents number of records returned in the last SearchQuery() response.
1.0rc2 - Made $pointer_id a parameter that can be passed
<?php
if ($rets->NumRows() > 1000) {
echo "More than 1,000 rows returned in last response.\n";
}