IS THERE A PHP SCRIPT THAT WILL PRINT SPECIFIC TEXT ACCORDING TO THE CURRENT DATE?

This needs to be like a ‘Today in history’ type script, where the output changes according to the current date based on content of a table or variables. I can do this in JavaScript, but JavaScript is usually ignored by the search engines, but PHP output is indexed.
Thanks,
Zeba
http://www.JigsawADay.com
Ok, I do not want to print the date itself, I want to print out a pre defined text string that changes when the date changes.
i.e. on March 11th it would print out ‘This is text string one.’
On March 12th it would print out ‘This is my second text string.’
about 1 year ago
Yes… you can write it.
about 1 year ago
This is only an outline:
$date_today = date(“md”);
//refer to http://www.php.net/date for exact syntax you need
if ($date_today == “0309″) print “today is 9th of march”;
else if ($date_today == “0311″) print “it’s March 11 today”;
about 1 year ago
This should work:
$date = date(m F);
switch ($date) {
case ’11 March’:
echo “What you want to write”;
break;
}
You can put in as many cases as you like for different dates.