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 2 of 2
  1. #1
    Join Date
    May 2006
    Location
    Hull
    Posts
    7,701
    Tokens
    2,430
    Habbo
    Moh

    Latest Awards:

    Default time and timeout's.

    Well for our polls, you can select how many days you wish the poll to end.

    So 0 = never ends.

    But I am having a problem, if the timeout isn't 0, it wont display the page.

    So, this works if:
    Checker = 0
    Timeout = 0

    But it dosnt work if:
    Checker = 0
    Timeout = 31

    Oh, and $date is time();

    PHP Code:
    if (mysql_num_rows $checker ) != || ($timeout 86400) < $date && $fetch["timeout"] != "0") {
    // displays poll finished

    Does anyone know why this isnt working?

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

    Latest Awards:

    Default

    anyone?

Posting Permissions

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