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 4 of 4

Thread: PHP function

  1. #1
    Join Date
    Sep 2006
    Posts
    2,114
    Tokens
    0

    Latest Awards:

    Default PHP function

    Making page pagination

    is

    PHP Code:
    for($i 1;$i<=$total_pages;$i++){ 
    Vaild?
    Looking for a good desiner to design a social networking template.

    PM me.

  2. #2
    Join Date
    Sep 2006
    Posts
    2,114
    Tokens
    0

    Latest Awards:

    Default

    Er.. bump..

    Edited by Agesilaus (Forum Moderator): Please do not multiple post, unless you are adding new information when the 15 minute edit time is up.
    Last edited by Agesilaus; 17-12-2007 at 12:09 PM.
    Looking for a good desiner to design a social networking template.

    PM me.

  3. #3
    Join Date
    Aug 2004
    Location
    UK
    Posts
    11,283
    Tokens
    2,031

    Latest Awards:

    Default

    Its a valid top line of a for loop on the assumption $total_pages is set to somthing o.o

  4. #4
    Join Date
    Sep 2006
    Posts
    2,114
    Tokens
    0

    Latest Awards:

    Default

    Yes it is set..

    That's in the code right before display page 1 if no other pages and my max results is set to 3 and there is 6 entries in the database and i cant get it to displays the other page numbers..

    It just has 1 at the bottom..
    Looking for a good desiner to design a social networking template.

    PM 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
  •