db2_fetch_assoc
Пример 2. Retrieving specific rows with db2_fetch_assoc() from a scrollable cursor - If your result set uses a scrollable cursor, you can call db2_fetch_assoc() 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_both() |
db2_fetch_object() |
db2_fetch_row() |
db2_result() |
db2_fetch_array
db2_fetch_both 22222