![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
|||||||||||
mysqli_data_seek(PHP 5) mysqli_data_seek(no version information, might be only in CVS) result->data_seek -- Adjusts the result pointer to an arbitary row in the resultDescriptionProcedural style: bool mysqli_data_seek ( mysqli_result result, int offset )Object oriented style (method): class mysqli_result {bool data_seek ( int offset ) } The mysqli_data_seek() function seeks to an arbitrary result pointer specified by the offset in the result set represented by result. The offset parameter must be between zero and the total number of rows minus one (0..mysqli_num_rows() - 1).
See Alsomysqli_store_result(), mysqli_fetch_row(), mysqli_fetch_array(), mysqli_fetch_assoc(), mysqli_fetch_object(), mysqli_query() and mysqli_num_rows(). Examples
The above example will output:
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/ |
|