Limit displayed images in a page

Discussion in 'PHP' started by fr33d0m, Jul 18, 2007.

  1. #1
    Hi,
    My group is creating a website for sharing photos.
    We're agree to limit 20 photos to be displayed in a page for an user, so we want to put link to the next or previous pages.
    My question is how do we set the session variable to fulfill this?
    Because we'll get a lot of data from database, right? How to arrange this?
    Can someone guide me, pls? Thanks
     
    fr33d0m, Jul 18, 2007 IP
  2. uglyboy

    uglyboy Peon

    Messages:
    1,963
    Likes Received:
    134
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hi fr33d0m welcome to DP..

    I think you are wanting to learn "pagination".. This looks like a perfect tutorial for you.. :) http://haugland.ca/guides/21/
     
    uglyboy, Jul 18, 2007 IP
  3. fr33d0m

    fr33d0m Peon

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Well, yes it is..
    Thank you very much :)
    I'll look at it. Thanks again
     
    fr33d0m, Jul 18, 2007 IP
  4. uglyboy

    uglyboy Peon

    Messages:
    1,963
    Likes Received:
    134
    Best Answers:
    0
    Trophy Points:
    0
    #4
    No worries.. glad to be of assistance.. Enjoy DP..:)
     
    uglyboy, Jul 18, 2007 IP