Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 10 of 10

Thread: pagination

  1. #1
    Join Date
    May 2006
    Location
    Hull
    Posts
    7,701
    Tokens
    2,430
    Habbo
    Moh

    Latest Awards:

    Default pagination

    Hey, does anyone know any decent pagination scripts?

    I have found a few, but they wen't very customisable.

    So does anyone know any customizable paginations or know how to make them

  2. #2
    Join Date
    Sep 2006
    Location
    Evanston, Illinois.
    Posts
    2,361
    Tokens
    0

    Latest Awards:

    Default

    To make them it's just a little bit of math. Comon. You can do that...
    How could this hapen to meeeeeeeeeeeeeee?lol.

  3. #3
    Join Date
    Sep 2008
    Location
    UK
    Posts
    3,670
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Hypertext View Post
    To make them it's just a little bit of math. Comon. You can do that...
    Neither can you.

  4. #4
    Join Date
    Feb 2007
    Location
    Essex, England
    Posts
    1,392
    Tokens
    0

    Latest Awards:

    Default

    http://php.about.com/od/phpwithmysql...pagination.htm

    I used that when I first learnt, and I built off of it, and experimented with different things.

    Obviously it's basic but it works..

    Google Search: "PHP Pagination"; first link ... :rolleyes:


  5. #5
    Join Date
    May 2006
    Location
    Hull
    Posts
    7,701
    Tokens
    2,430
    Habbo
    Moh

    Latest Awards:

    Default

    Quote Originally Posted by Hypertext View Post
    To make them it's just a little bit of math. Comon. You can do that...
    Quote Originally Posted by L?KE View Post
    http://php.about.com/od/phpwithmysql...pagination.htm

    I used that when I first learnt, and I built off of it, and experimented with different things.

    Obviously it's basic but it works..

    Google Search: "PHP Pagination"; first link ... :rolleyes:
    I got a simple pagination (http://habbcrazy.net/bth/members.php) with the page numbers, next page, prev page, first page and last page. But I duno how to make it say you want it to display 7 page numbers.
    So when you click page number 7 the other pages 1,2,3,4,5,6 and 7 will turn to 8,9,10,11,12,13 so on.

  6. #6
    Join Date
    Feb 2007
    Location
    Essex, England
    Posts
    1,392
    Tokens
    0

    Latest Awards:

    Default

    Check if the number is divisble by 7, and if it is then make it the limit in the for loop that displays the numbers.

    if that makes sense?


  7. #7
    Join Date
    Sep 2006
    Location
    Evanston, Illinois.
    Posts
    2,361
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Excellent2 View Post
    Neither can you.
    Read my sig.
    How could this hapen to meeeeeeeeeeeeeee?lol.

  8. #8
    Join Date
    Sep 2008
    Location
    UK
    Posts
    3,670
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Hypertext View Post
    Read my sig.
    Read, makes perfect sense, www.dynamicdrive.com - look for Dynamic Content then sub to it "iframes and Ajax"

  9. #9
    Join Date
    Feb 2007
    Location
    Essex, England
    Posts
    1,392
    Tokens
    0

    Latest Awards:

    Default

    Agreed with Excellent2. Bit silly putting that in your sig.


  10. #10
    Join Date
    May 2006
    Posts
    1,797
    Tokens
    0

    Latest Awards:

    Default

    I think i made one of these once but no idea how to do it.. Just think about it logically and it will come to you.

    i think the ceil() function is used if i can remember right.
    Coming and going...
    Highers are getting the better of me

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •