meames
12-05-2005, 12:26 AM
I have a table of user reviews and want a way of selecting the next record from the database. The table is set out like:
ID Review
1 review1
1 review2
1 review3
2 review4
3 review5
2 review6
1 review7
Now I have a system to bring up the first review depending on the ID and then to move onto the next review, but I cannot seem to be able to bring up the next review depending on ID - ie If I was viewing 'review3' the next one I want to view is 'review7'.
Tried googling, but yet again meames don't know how to put it to get a half decent result!
Any help on this is greatly appreciated.
Cheers guys.
ID Review
1 review1
1 review2
1 review3
2 review4
3 review5
2 review6
1 review7
Now I have a system to bring up the first review depending on the ID and then to move onto the next review, but I cannot seem to be able to bring up the next review depending on ID - ie If I was viewing 'review3' the next one I want to view is 'review7'.
Tried googling, but yet again meames don't know how to put it to get a half decent result!
Any help on this is greatly appreciated.
Cheers guys.