note 22918 deleted from function.date by victor

From: Date: Sat, 24 Aug 2002 15:53:55 +0000
Subject: note 22918 deleted from function.date by victor
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-35530@lists.php.net to get a copy of this message
Next time there is a major holiday, your web site will be updated without any work from you... $todaydate = date("jF"); if ("4July" == $todaydate){ $message = "<b>Happy 4th of July!</b>"; } elseif("25December" == $todaydate){ $message = "<b>Merry Christmas!</b>"; } elseif("31October" == $todaydate){ $message = "<b>Happy Holloween!</b>"; } else { $message = ""; }

« previous php.notes (#35530) next »