This snipplet is great if you want to display random text great if you want to display a new tip each time page is refreshed or visited.
Can be altered to do other things such as display random advertisement.
<?
$random_text = array("Random Text 1",
"Random Text 2",
"Random Text 3",
"Random Text 4",
"Random Text 5");
srand(time());
$sizeof = count($random_text);
$random = (rand()%$sizeof);
print("$random_text[$random]");
?>