PHP Tutorial : Special Date Script

Today is the last day of the year 2008 and I will write a script to show your visitors a “happy new year” message automatically on tomorrow if you cannot manually add it in that day because of the traveling and other reasons.

<?php
$day = date(“d”);
$month = date(“m”);

if($day == “01″ &amp;&amp; $month == “01″) {
print…………….

Read PHP Tutorial : Special Date Script »