Home › Forums › CSS › Image rotation by days of the week? › Re: Image rotation by days of the week?
June 16, 2009 at 2:15 am
#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.