Posted by Fred Forsyth on 12/22/05 12:46
So you want to have some text displayed up until a specified date? If so, this will do it: <? if (mktime() < mktime (0,0,0,1,1,2006)) echo "hello"; ?> If the current date is before the 1st Jan 2006, then show the text. Otherwise don't. Hope that helps, Fred.
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming