Jump to content


Photo

displaying sql results on multiple pages


  • Please log in to reply
2 replies to this topic

#1 robcrozier

robcrozier
  • Members
  • PipPipPip
  • Advanced Member
  • 175 posts

Posted 21 August 2006 - 06:18 PM

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!

#2 shocker-z

shocker-z
  • Members
  • PipPipPip
  • Advanced Member
  • 864 posts
  • LocationNottingham

Posted 21 August 2006 - 06:24 PM

http://www.phpfreaks...-Pagination.php

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

Regards
Liam
www: www.ukchat.ws | irc: irc.ukchat.ws chan: #blufudge

#3 robcrozier

robcrozier
  • Members
  • PipPipPip
  • Advanced Member
  • 175 posts

Posted 21 August 2006 - 06:29 PM

cheers thats what i was looking for, im pretty new to phpfreaks and didnt think to look there!

thanks again!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users