Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
Thread: Pagination help
12-29-2012, 07:52 AM #1
- Join Date
- Dec 2012
- Thanked 0 Times in 0 Posts
Im trying to get my website that Im currently making to load videos like it does in this website and have the numbers 1 2 3 4 next etc down the bottom. – http://www.soothetube.com/
12-29-2012, 09:38 AM #2
- Join Date
- Jun 2002
- London, England
- Thanked 2,593 Times in 2,571 Posts
All the code given in this post has been tested and is intended to address the question asked.
Unless stated otherwise it is not just a demonstration.
12-29-2012, 09:12 PM #3
Didn't you notice the URL that is used when you click on one? For example???Code:http://www.soothetube.com/page/4/
So that is sending *BACK* to the server *ASKING* for "/page/4".
More than likely, what is actually happening is that there is a URL REWRITE rule in place (look that up) and you are actually hitting something like(It's not exactly that...I tried it. But check out what happens if you useCode:http://www.soothetube.com/index.php?page=4so I'm on the right track.)Code:http://www.soothetube.com/index.php?p=4 or http://www.soothetube.com/index.php?p=17 or some other number
So this is 100% server-side pagination. Period.
Last edited by Old Pedant; 12-29-2012 at 09:16 PM.
Be yourself. No one else is as qualified.