Random Content
Output (should be random)
David Letterman says...
Source Code
<?php // generates some random content // start an array with some text strings... $blah[] = 'Frank Zappa says...'; $blah[] = 'David Byrne says...'; $blah[] = 'David Letterman says...'; $blah[] = 'Richard Feynman says...'; // seed php random number generator // http://www.php.net/srand srand ((float) microtime() * 10000000); // print a random $blah // http://www.php.net/array_rand print $blah[array_rand($blah)]; ?>