db2_fetch_row
PECL ibm_db2 >= 1.0.0
db2_fetch_row - Sets the result set pointer to the next row or requested row
Example #1 Iterating through a result set
Result: cat Pook
gold fish Bubbles
budgerigar Gizmo
goat Rickety Ride
Example #2 i5/OS recommended alternatives to db2_fetch_row/db2_result
Result: db2_fetch_both MATCH_ANIMAL 2006-08-25-17.10.23.775000 2006-08-25-17.10.23.775000
db2_fetch_both MULTIRESULTS 2006-10-17-10.11.05.308000 2006-10-17-10.11.05.308000
db2_fetch_array MATCH_ANIMAL 2006-08-25-17.10.23.775000
db2_fetch_array MULTIRESULTS 2006-10-17-10.11.05.308000
db2_fetch_object MATCH_ANIMAL 2006-08-25-17.10.23.775000
db2_fetch_object MULTIRESULTS 2006-10-17-10.11.05.308000