Jump to content

Archived

This topic is now archived and is closed to further replies.

robcrozier

displaying sql results on multiple pages

Recommended Posts

ok here's the situation...

i have a database full of records and i want to output the first 10 or so on one page and then create a link or something to another page to display another 10 or so and so on... (hope that makes sense). A bt like the posts on this website - so many are displayed on one page and there are links to other pages [1,2,3,4,5 ...] which in turn display consiquent posts.

I don't really know where to start, all i can do is display them all on the one page (which then takes forever to lad and looks messy!)

Any help would be greatly appreciated, cheers!

Share this post


Link to post
Share on other sites
http://www.phpfreaks.com/tutorial_cat/25/Page-Number--Pagination.php

phpfreaks pagination tutorial is decent enough and should do the trick :)

Regards
Liam

Share this post


Link to post
Share on other sites
cheers thats what i was looking for, im pretty new to phpfreaks and didnt think to look there!

thanks again!

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.