db2_fetch_row()
db2_fetch_row - Sets the result set pointer to the next row or requested row
Syntax
bool db2_fetch_row (
resource $stmt,
int $row_number)
Arguments
- stmt - A valid stmtresource.
- row_number - With scrollable cursors, you can request a specific row number in the result set. Row numbering is 1-indexed.
Description
Use db2_fetch_row() to iterate through a result set, or to point to a specific row in a result set if you requested a scrollable cursor.
Version
PHP PECL ibm_db2 >= 1.0.0
Return value
Returns TRUE if the requested row exists in the result set. Returns FALSE if the requested row does not exist in the result set.