goldfish
05-11-03, 16:49
Okay im making a blog for a website, and there is 4 memebers who want to submit entries to them.
Each of them will have a seperate blog. I want each page to have 10 entries on it, and a next, previous and page number controls on the bottom.
From querystring im going to get the page number, multiply it by 10 then subtract 9 to get the ID number at which to start at. Loops thru 10 entries, then stops
My problem is that i need to find out how many pages there are in the blog. And someway that is effiencnt too.
Incidentally this is in ASP
And the name of the table is that of the name in querystring.
Each of them will have a seperate blog. I want each page to have 10 entries on it, and a next, previous and page number controls on the bottom.
From querystring im going to get the page number, multiply it by 10 then subtract 9 to get the ID number at which to start at. Loops thru 10 entries, then stops
My problem is that i need to find out how many pages there are in the blog. And someway that is effiencnt too.
Incidentally this is in ASP
And the name of the table is that of the name in querystring.