Weather Facts:
Did you know? :
$f_name = "facts.txt";
$fp = fopen($f_name,"r");
$f_content= fread($fp, filesize($f_name));
fclose($fp);
$fnotes = explode(":::",$f_content);
shuffle($fnotes);
$i=0;
while(list(,$code) = each($fnotes)) {
$i++;
if ($i>=$max) {
break;
}
}
?>
=$code;?>
|