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!


Page 3 of 3 FirstFirst 123
Results 21 to 23 of 23

Thread: Egg Script

  1. #21
    Join Date
    Jan 2006
    Location
    Cambridge
    Posts
    1,911
    Tokens
    0

    Latest Awards:

    Default

    EDTALKING


  2. #22
    Join Date
    Mar 2006
    Location
    Scotland
    Posts
    1,012
    Tokens
    175

    Latest Awards:

    Default

    PHP Code:
    <?php
    $todayis 
    date("l, F j, Y") ;
    if(
    $todayis => "Friday, April 6, 2007") {
    echo 
    "<img src=\"me+egg.png\">"//Image that appears on Easter Sunday
    } else {
    echo 
    "<img src=\"egg.gif\">"//Image that will appear before easter Sunday
    }
    ?>
    Needs to be => so its if today is 6th April OR Greater.


    You don't like me
    Chances are I don't like you.

  3. #23
    Join Date
    Jan 2006
    Location
    Cambridge
    Posts
    1,911
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by RichardKnox View Post
    PHP Code:
    <?php
    $todayis 
    date("l, F j, Y") ;
    if(
    $todayis => "Friday, April 6, 2007") {
    echo 
    "<img src=\"me+egg.png\">"//Image that appears on Easter Sunday
    } else {
    echo 
    "<img src=\"egg.gif\">"//Image that will appear before easter Sunday
    }
    ?>
    Needs to be => so its if today is 6th April OR Greater.
    cheers, i will test it tomorrow
    EDTALKING


Page 3 of 3 FirstFirst 123

Posting Permissions

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