![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
|||||||||||
db2_fetch_row(no version information, might be only in CVS) db2_fetch_row -- Sets the result set pointer to the next row or requested rowDescriptionbool db2_fetch_row ( resource stmt [, int row_number] )
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. To retrieve individual fields from the result set, call the db2_result() function. Rather than calling db2_fetch_row() and db2_result(), most applications will call one of db2_fetch_assoc(), db2_fetch_both(), or db2_fetch_array() to advance the result set pointer and return a complete row as an array. Parameters
Return ValuesReturns TRUE if the requested row exists in the result set. Returns FALSE if the requested row does not exist in the result set. Examples
Copyright © 1997 - 2007 by the PHP Documentation Group. This material may be distributed only subject to the terms and conditions set forth in the Open Publication License, v1.0 or later. A copy of the Open Publication License is distributed with this manual, the latest version is presently available at http://www.opencontent.org/openpub/. Please see full copyright text at http://www.php.net/manual/en/copyright.php Original version of the above documentation is available at http://www.php.net/manual/en/ |
|