RE: [PHP] Display after a certain date

2003-09-05 Thread Jay Blanchard
[snip] Anyone have a quick fix for a part of an html page that I do not want to display until after October 1st, and not after October 31st ? [/snip] You must have missed the conditionals part of the manual ?php // untested $display_start = 2003-10-01; $display_end = 2003-10-31;

Re: [PHP] Display after a certain date

2003-09-05 Thread John Taylor-Johnston
Jay, I should have though of that. Thanks. Jay Blanchard [EMAIL PROTECTED] wrote: ?php $display_start = 2003-10-01; $display_end = 2003-10-31; if((date(Y-m-d) = $display_start) (date(Y-m-d) = $display_end)){ print($stuff); } ? Cesar: Is your server is set up correctly? In your

[PHP] Display after a certain date

2003-09-04 Thread John Taylor-Johnston
Anyone have a quick fix for a part of an html page that I do not want to display until after October 1st, and not after October 31st ? J -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php