Associate
- Joined
- 8 Oct 2005
- Posts
- 97
- Location
- Bristol
This to me seems like it should be realy simple, but for the life of me i cant figure it out
im paging through a mysql recordset using ASP quite happily but i just want to show some totals at the top of the page
example
9 products in a category max of 6 per page
should say at the top of page 1 "showing products 1 to 6 of 9"
and page 2 should say "showing products 7 to 9 of 9"
i cant figure out how i can get the second value !!
ive got these variables to use
PageSize
PageCount
RecordCount
CurrentPage
my brain hasnt woken up yet, it should be realy simple but i just cant see it
if anyone has a brain that works and can show me what the heck i need to do it would be much appreciated
please note posting of php code could lead to a nervous breakdown pseudo will do
im paging through a mysql recordset using ASP quite happily but i just want to show some totals at the top of the page
example
9 products in a category max of 6 per page
should say at the top of page 1 "showing products 1 to 6 of 9"
and page 2 should say "showing products 7 to 9 of 9"
i cant figure out how i can get the second value !!
ive got these variables to use
PageSize
PageCount
RecordCount
CurrentPage
my brain hasnt woken up yet, it should be realy simple but i just cant see it
if anyone has a brain that works and can show me what the heck i need to do it would be much appreciated
please note posting of php code could lead to a nervous breakdown pseudo will do