3
Contributors
3
Replies
4
Views
10 Years
Discussion Span
Last Post by tygerberg
0

Yes it is. Using the date() function you can find which day of the week it is and base your content on that.

0

As stymiee said, you can do it. For example something like this:

<?php

	$d = date('w');

	$maxim[] = 'sunday';
	$maxim[] = 'monday';
	$maxim[] = 'tuesday';
	$maxim[] = 'wednesday';
	$maxim[] = 'thursday';
	$maxim[] = 'friday';
	$maxim[] = 'saturday';

	echo $maxim[$d];

?>

Just replace 'sunday, monday...' with your text.
Bye :)

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.