Glad I found this thread as it should get me part of the way there.
How can I show a different logo based on the date? (kind of like what Google does on holidays). So if the date = July 4th show one banner, else if the month = October show another banner, etc. I don't want to hardcode the years, though, since I'd like this code to work year after year. Is this too resource intensive?
Also a general php question for those who also know C/C++/C#... does php have Case statements?
Thanks
|