The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Image rotation by days of the week? Re: Image rotation by days of the week?

"AshtonSanders" wrote:
I would use the php date function for day of the week:


That will output a number representation of the day of the week: 1 (for Monday) through 7 (for Sunday)

So header1.jpg would be Monday’s header.

Thanks but I do not quite understand this. Where am I suppose to place this code? In the <head></head> area? And is that the only line required? Where would my image source be placed?

Would this work?