When I drag rows from mysql and rolls them out, I divide the total number of rows with eg. 20 so I get number of pages.
But when I look at the details of a row I would like to go back to the same page with a link. (For example, the row with a unique ID 1451 on page 33.
<a href="?show=rows&page=33">Back</a>
)
How can I figure out what page x would be in mysql for a unique ID?
***UPDATE*
The solution can be found here:
MySQL get row position in ORDER BY