Because my jokes, quips, and so on change with every refresh, the code is trivial::
Code: Select all
if ($random){
$line = rand(0,$number-1);
}
Code: Select all
<?
// display the text on the page
echo "$text[$line]";
?>
line the same for a full week? and refresh or change at, say 0.00 hours every Sunday?
thanks for any insights!
gary kline
PS: "$random" is initialized to true.