One way would be to do this: <? if(date("md") > 413 && date("md") < 513) { // Display image } ?> On 4/30/07, Ben Clapp <bclapp@xxxxxxxxxxxxxxx> wrote:
I am new to PHP programming and need some help. I have an image that i have show up each May for the month with $mymonth = date("m", mktime()), but i want to set up a date range for it to show up. Ex. 4-13 to 5-13 each year. How can I do that? Any help would be great. Thank you Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
-- Daniel P. Brown [office] (570-) 587-7080 Ext. 272 [mobile] (570-) 766-8107