I trying to do a next/previous links.
The current page has a querystring("ID) example ID=15.
What I need to do is retive the previous entry ID this could be 14 or 7 or 2.
I am also trying to do this the next up ID so it could be 16 or 58 or 56989.
example code if the querystring is 15
The ID number will change depending on the next or previous record ID.Code:<a href="?section=main&id=7><< Previous</a> <a href="?section=main&id=45>Next >></a>