Goto:
4C Home
|
4C Docs
|
req4c Docs
|
req4c Function List
req4c_fetch_assoc_prev()
req4c_fetch_assoc_prev()
Purpose:
-
req4c_fetch_assoc_prev() returns the prev ResultRow in <resultset>
as an associative array.
Usage:
-
-
$result = req4c_fetch_assoc_prev(<resultset>);
Arguments:
-
<resultset> - A ResultSet resource returned by req4c_run().
Returns:
-
false - Error
-
$result - An associative array
with each element holding
one string representing one column in the ResultRow.
The array is keyed by the column names in the ResultRow.
Where Used:
-
req4c_fetch_assoc_prev() can be called anytime you have a ResultSet
and want to fetch the previous ResultRow from <resultset>
into an associative array.
Example:
-
Description:
-
req4c_fetch_assoc_prev() fetches the previous ResultRow from <resultset>
into an associative array indexed by the column names in the ResultRow.
The internal pointer of the current ResultRow is updated to this ResultRow.
Bugs/Features/Comments:
-
-
req4c_fetch_assoc_prev() does not access the network
-
req4c_fetch_assoc_prev() leaves the current message list intact
See Also:
-
req4c_fetch_next()
-
req4c_fetch_assoc_next()
-
req4c_fetch_prev()
-
req4c_fetch_cur()
-
req4c_fetch_assoc_cur()
-
req4c_fetch_first()
-
req4c_fetch_assoc_first()
-
req4c_fetch_last()
-
req4c_fetch_assoc_last()
Back to Top