db2_fetch_both
Пример 2. Retrieving specific rows with db2_fetch_both() from a scrollable cursor - If your result set uses a scrollable cursor, you can call db2_fetch_both() with a specific row number. The following example retrieves every other row in the result set, starting with the second row.
Результат выполнения данного примера:
|
-
db2_fetch_array() |
db2_fetch_assoc() |
db2_fetch_object() |
db2_fetch_row() |
db2_result() |
db2_fetch_assoc
db2_fetch_object 22222