Event on Website?

Out of context: Reply #3

  • Started
  • Last post
  • 7 Responses
  • ********
    0

    This is very easy basic PHP stuff and works more or less how you thought.

    I've only done a bit of PHP and it was a couple of years ago, so the syntax is wrong, but it is as simple as:

    if (DATE<Christmas Day) {
    HTML SAYING 'CHRISTMAS COMING SOON'
    }
    else(){
    HTML SAYING 'MERRY CHRISTMAS'
    }

    Sort of stuff.

    • ascescence is more on the mark here. I didn't think echo was necessary though.
      ********

View thread