Re: newbie needs help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



   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

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux