All,
If I have the following IDs:
6, 7, 9, 15, 20 etc.
If I'm on 20, how do I select the next lowest ID in this case 15?
If I get all the way to 6 and that is the lowest ID in the database, how do go back to the greatest one in the database?
I'm going to use these as links like Previous Next links.
Thanks in advance.