chatyak86
Posts: 1085
Joined: 17 Jun 06
Trust:
03 May 07 2:15 am
On your php page put this code
<?php
$textfile ="whatever.txt";
$quotes = file("$textfile");
$quote = rand(0, sizeof($quotes)-1);
echo $quotes[$quote];
?>
(You can rename the .txt file to whatever you want.)
Create a new blank page....... make sure it's BLANK... and save it whatever.txt
In that txt file put words or text you want to appear.... make sure each one is on a new line....
like
this
or like this
and like this