How to use mysqli_result::data_seek to read the data of a specified row with mysqli_fetch_assoc?
When using PHP to operate a MySQL database, we often get query results through mysqli_query, and then use mysqli_fetch_assoc to read the data row by row. If you want to jump to a row in the result set and read the data, mysqli_result::data_seek comes in handy.
mysqli_result::data_seek