Goto:
4C Home
|
4C Docs
|
req4c Docs
|
req4c Function List
req4c_get_num_errors()
req4c_get_num_errors()
Purpose:
-
req4c_get_num_errors() returns the number of errors in the current
message list
Usage:
-
-
$numerrors = req4c_get_num_errors();
Arguments:
None
Returns:
-
$numerrors - integer always >= 0
Where Used:
-
$numerrors() can be called after any req4c function
that could generate errors.
It should be called before calling any other req4c function that clears the
message list.
Example:
-
Description:
-
req4c_get_num_errors() returns the number of errors in the current
message list
Bugs/Features/Comments:
-
-
req4c_get_num_errors() 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_fecth_next_error()
-
req4c_fetch_all_errors()
-
req4c_get_num_msgs()
-
req4c_fetch_next_msg()
-
req4c_fetch_all_msgs()
Back to Top