Here is the code I am working with.
$random_content="random.htm";
$random_content=file("$random");
$display=rand(0, sizeof($random)-1);
echo $random_content[$display];
also this code:
/*
generate a random number between zero
and the number of quotes minus one
*/
$rand = rand(0, (count($quotes)-1));
// output the random quote
echo $quotes[$rand];
Any help would be appreciated
Thank you!