< ?
/**
* To create content simply copy the format below
* $content[] = "CONTENT HERE";
*/
$content[] = "Content 1";
$content[] = "Content 2";
$content[] = "Content 3";
$content[] = "Content 4";
$count = count($content); // Count how many content strings there are.
$rand = rand("0", $count); // Pick a random number between 0 and the total $content strings.
echo "
".$content[$rand].""; // Echo the content
?>
fonte: www.sastgroup.com





