// Use the day of the year to get a daily changing
// quote changing (z = 0 till 365)
$DayOfTheYear = date('z');
// You could also use:
// --> date('m'); // Quote changes every month
// --> date('h'); // Quote changes every hour
// --> date('i'); // Quote changes every minute
// Example array with some random quotes
$RandomQuotes = array(
'No animals were harmed in the making of this snippet.',
'Nice snippets',
'The modulus operator rocks!',
'PHP is cool.'
);
print RandomQuoteByInterval($DayOfTheYear, $RandomQuotes);