|
cubrid_move_cursorMove the cursor in the result Description
int cubrid_move_cursor
( resource
$req_identifier
, int $offset
[, int $origin = CUBRID_CURSOR_CURRENT
] )
The cubrid_move_cursor function is used to move the
current cursor location of If the value of cursor movement range goes over the valid limit, then the cursor moves to the next location after the valid range for the cursor. For example, if you move 20 units in the result with the size of 10, then the cursor will move to 11th place and return CUBRID_NO_MORE_DATA. Parameters
Return Values
ExamplesExample #1 cubrid_move_cursor example
<?php The above example will output: array(2) { [0]=> string(1) "G" [1]=> string(4) "Gold" } array(2) { [0]=> string(1) "X" [1]=> string(5) "Mixed" } array(2) { [0]=> string(1) "M" [1]=> string(3) "Man" } See Also
|