To reuse an existing result set returned from a query is actually pretty simple thanks to PHP's mysql_data_seek function and the fact that mysql_query returns...