Displaying a Randomly Chosen Message

Here is sample PHP code from Yamhill Democrats “Inspriration” block, so put it anywhere that you can set the Input Type (Block, node, ...) to PHP. This changes at every page load. The Drupal support/forum section has other variations so you can have a single message of the day, or whatever instead.
<?php
global $user;
$tips = array(
'Fairness and Opportunity for all.',
'“We\'re In This Together.” <em>Jared Bernstein</em>',
'“America was not built on fear. America was built on courage, on imagination and an unbeatable determination to do the job at hand.” <em>Harry S. Truman</em>',
'“... ask not what your country can do for you; ask what you can do for your country.” <em>John F. Kennedy</em>',
'“We have nothing to fear but fear itself.” <em>Franklin D. Roosevelt</em>',
'“Until justice is blind to color, until education is unaware of race, until opportunity is unconcerned with the color of men’s skins, emancipation will be a proclamation but not a fact.” <em>Lyndon B. Johnson</em>',
'“Human rights is the soul of our foreign policy, because human rights is the very soul of our sense of nationhood.” <em>Jimmy Carter</em>',
'“There is nothing wrong with America that cannot be cured with what is right in America.” <em>Bill Clinton</em>',
'“We hold these truths to be self-evident, that all men are created equal, that they are endowed by their Creator with certain unalienable Rights, that among these are Life, Liberty and the pursuit of Happiness.--That to secure these rights, Governments are instituted among Men, deriving their just powers from the consent of the governed, ....” <em>Declaration of Independence</em>',
'“We the People of the United States, in Order to form a more perfect Union, establish Justice, insure domestic Tranquility, provide for the common defence, promote the general Welfare, and secure the Blessings of Liberty to ourselves and our Posterity, do ordain and establish this Constitution for the United States of America.” <em>Preamble of the US Constitution</em>',
'“The greatest challenge facing our republic is not terrorism but how we react to terrorism, and not war, but how we manage our fears and achieve security without losing our freedom.” <em>Al Gore June 24, 2004</em>',
'“I have a dream that one day this nation will rise up and live out the true meaning of its creed: \'We hold these truths to be self-evident that all men are created equal.\'” <em>Martin Luther King, Jr.</em>'
//don't forget to leave the comma off the end of the last message
);
return $tips[rand(1,count($tips)-1)];
?>