Wolverine Posted January 20, 2012 Share Posted January 20, 2012 <?php$d=date("D");if ($d=="October 31") echo "Have a HAPPY HALLOWEEN!!";?> Or am I doing something wrong? Link to comment Share on other sites More sharing options...
birbal Posted January 20, 2012 Share Posted January 20, 2012 did you try what does $d echo? check this http://php.net/function.date Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.