Hi all
I have a search results page that splits up the resutling records returned over several pages (i have it set to 10 resutls per page). I want to have a message at the top of each page stating "now viewing X to Y of Z items" where x is the first record on the page and Y is the last and Z is the recordcount. Im not sure how to get the Y though. I have a varible available to each new page called "firstrecord" that increments by 10 with each click of the "next 10" button. This is what im using for X. How can I determine Y so that it will accurately tell when someone is viewing say "items 51 to 52 of 52"?
Thanks
I have a search results page that splits up the resutling records returned over several pages (i have it set to 10 resutls per page). I want to have a message at the top of each page stating "now viewing X to Y of Z items" where x is the first record on the page and Y is the last and Z is the recordcount. Im not sure how to get the Y though. I have a varible available to each new page called "firstrecord" that increments by 10 with each click of the "next 10" button. This is what im using for X. How can I determine Y so that it will accurately tell when someone is viewing say "items 51 to 52 of 52"?
Thanks