I'm having a question here, not for code, but for what logic.
I have a table with 6000 records in MySQL. I have a PHP script that returns 50 records per page, using the SQL "LIMIT" function.
Now I need to fetch a single record from this table and know which 50-page "page" it will be.
For example, if it is record 68, I need to know that it is on the 2nd page. If it's 120, the 3rd, and so on.
Is this possible with PHP or MySQL? Could someone give me a light?
Thank you.