Forums

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?

#59107
AshtonSanders
Participant

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

Code:
/images/header.jpg

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.