Hi,
I'm currently converting a client's DBMan vehicle database to DBManSQL and need to show a record navigation bar across the top of the 'detailed' page.
The search results show all the vehicles in a list, with each vehicle linked to a 'detailed' page. Once on that page I want to show a link to the PREVIOUS and NEXT records.
http://www.wcsauto.com/..._results&keyword=*
For DBMan I used the 'sub html_record_long' mod and whilst I've seen a post in this forum about using ID +/- 1 I am assuming that won't work if there are gaps in the ID numbers?
I notice in the search results template there's a <%if hits%> - is it possible to use <%hits%> in some way to push the URL for the previous and next links?
Any help appreciated.
All the best
Shaun
I'm currently converting a client's DBMan vehicle database to DBManSQL and need to show a record navigation bar across the top of the 'detailed' page.
The search results show all the vehicles in a list, with each vehicle linked to a 'detailed' page. Once on that page I want to show a link to the PREVIOUS and NEXT records.
http://www.wcsauto.com/..._results&keyword=*
For DBMan I used the 'sub html_record_long' mod and whilst I've seen a post in this forum about using ID +/- 1 I am assuming that won't work if there are gaps in the ID numbers?
I notice in the search results template there's a <%if hits%> - is it possible to use <%hits%> in some way to push the URL for the previous and next links?
Any help appreciated.
All the best
Shaun