mysqli_data_seek result->data_seek() Adjusts the result pointer to an arbitary row in the result &reftitle.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. &reftitle.parameters; &mysqli.result.description; offset The field offset. Must be between zero and the total number of rows minus one (0..mysqli_num_rows - 1). &reftitle.returnvalues; &return.success; &reftitle.notes; This function can only be used with buffered results attained from the use of the mysqli_store_result or mysqli_query functions. &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; &reftitle.seealso; mysqli_store_result mysqli_fetch_row mysqli_fetch_array mysqli_fetch_assoc mysqli_fetch_object mysqli_query mysqli_num_rows