Goto:
4C Home
|
4C Docs
|
req4c Docs
|
req4c Function List
req4c_get_num_results()
req4c_get_num_results()
Purpose:
-
req4c_get_num_results() returns the the number of ResultRows in <resultset>
Usage:
-
-
$numresults = req4c_get_num_results(<resultset>);
Arguments:
-
<resultset> - A ResultSet resource returned by req4c_run().
Returns:
-
false - Error
-
Otherwise the number of ResultRows in <resultset>
Where Used:
-
req4c_get_num_results() can be called anytime you have a ResultSet
and need to know the number of ResultRows it holds.
Example:
-
Description:
-
req4c_get_num_results() returns the the number of ResultRows in <resultset>
After getting the number of ResultRows in the ResultSet you will
probably want to process them using one of the req4c_fetch functions.
Bugs/Features/Comments:
-
-
req4c_get_num_results() does not access the network
-
req4c_get_error_num() leaves the current message list intact and
does not reset $_REQ4C['errno'] or $_REQ4C['errmsg']
See Also:
-
req4c_get_apprc()
Back to Top