result->data_seek -- Adjusts the result pointer to an arbitary row in the result
Syntax
Procedural 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).
Note:
This function can only be used with unbuffered results attained from the use of the
mysqli_store_result() or mysqli_query() functions.
/* free result set*/ mysqli_free_result($result); }
/* close connection */ mysqli_close($link); ?>
The above example will output:
City: Benin City Countrycode: NGA
Php mysqli data seek Function syntax tag
mysqli data seek php code on this is provided for your study purpose, it will guide you to know how create and design a website using php. use it to practice and train your self online
Php mysqli data seek syntax tutorial
php tutorial guide and code design are for easy learning and programming. The code practice section provided at the top is for practising of this syntax. Use the code section up to practice your php programming online. Learning php is very easy, all you need is to use the examples on this site and practice them to perfect your skills.