mysqli_data_seek result->data_seek Adjusts the result pointer to an arbitary row in the result Description Procedural style: boolmysqli_data_seek mysqli_resultresult intoffset Object oriented style (method): mysqli_result booldata_seek intoffset 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). This function can only be used with buffered results attained from the use of the mysqli_store_result or mysqli_query functions. &reftitle.returnvalues; &return.success; &reftitle.seealso; mysqli_store_result, mysqli_fetch_row, mysqli_fetch_array, mysqli_fetch_assoc, mysqli_fetch_object, mysqli_query&listendand; mysqli_num_rows. &reftitle.examples; Object oriented style query( $query)) { /* seek to row no. 400 */ $result->data_seek(399); /* fetch row */ $row = $result->fetch_row(); printf ("City: %s Countrycode: %s\n", $row[0], $row[1]); /* free result set*/ $result->close(); } /* close connection */ $mysqli->close(); ?> ]]> Procedural style ]]> &example.outputs;