//monthly quote script by Beginners PHP
//our month quote function
function display($time_period)
{
$quotes[1] = "januarys quote";
$quotes[2] = "february's quote";
$quotes[3] = "march's quote";
$quotes[4] = "april's quote";
$quotes[5] = "may's quote";
$quotes[6] = "june's quote";
$quotes[7] = "july's quote";
$quotes[8] = "august's quote";
$quotes[9] = "september's quote";
$quotes[10] = "october's quote";
$quotes[11] = "november's quote";
$quotes[12] = "december's quote";
return "$quotes[$time_period]";
}
//get month and display quote
$time_period = date("m");
echo display($time_period);
?>