Splitting DB results into pages.

Discussion in 'PHP' started by exaro, Mar 3, 2007.

  1. #1
    I'm trying to split results from a database into pages for every 10 results listed, similar to the way the thread listing on this form goes into pages after a certain number of posts are listed.

    I assume it uses some kind of while loop but I dont know the exact way to put it. How would I do this in PHP?
     
    exaro, Mar 3, 2007 IP
  2. Louis11

    Louis11 Active Member

    Messages:
    783
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    70
    #2
    Louis11, Mar 3, 2007 IP
    exaro likes this.
  3. exaro

    exaro Peon

    Messages:
    615
    Likes Received:
    39
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Perfect. Thank you!
     
    exaro, Mar 3, 2007 IP
  4. Louis11

    Louis11 Active Member

    Messages:
    783
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    70
    #4
    No problem, feel free to PM me if you have any further questions :)
     
    Louis11, Mar 5, 2007 IP