Php Code That Checks Date
July 29th, 2009
Comments off
I have a non CMS driven website on which my customer wants every few days an other bit of text showing. Because I can’t be available each time he want changes I would like to have a small piece of php that checks if the current date is between 2 given parameters which are the beginning and end date. When it is between the given dates the part of html is sown. When it is outsides it ignores the piece of html.
In one page I would like to enter a few of these date shown pieces of html so I can make changing weeks in front.
See attached html doc that makes more clear what I want
Categories: PHP checks, checks date, Code, code that, code that checks, date, HTML, PHP, php code, php code that, that checks, that checks date


