mysqli_data_seek
How to reuse a single query result without calling the server twice: mysqli_data_seek, and its PDO equivalent with a CURSOR_SCROLL cursor.
grep -l "#php"
One post on this topic
How to reuse a single query result without calling the server twice: mysqli_data_seek, and its PDO equivalent with a CURSOR_SCROLL cursor.