update : 2015.11.03
php.shukuma.com검색:
|
cubrid_move_cursor(PECL CUBRID >= 8.3.0) cubrid_move_cursor — Move the cursor in the result 설명
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. 인수
반환값
예제Example #1 cubrid_move_cursor() example
<?php 위 예제의 출력: 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" } |