I'm currently busy with my front page header. When it's almost Christmas or when it's Christmas, add the xmas
class.
<?php if(date("d-m") == "25-12") { echo ' class="xmas"'; } ?>
The above script works, however, I want to add the following dates without having to repeat the script;
<?php if(date("d-m") == "25-12" OR "26-12" OR "27-12" OR "28-12" OR "29-12" OR "30-12") { echo ' class="xmas"'; } ?>
That doesn't work but it's an example of how I want it to be.
Does anybody have a solution for this?