Hi
I use this script wich randomly returns a line of text from a txt file. The text are randomly choosed line by line. My Question : is it possible to modify this code so that the text can be over multiple lines divided by a *divider* from each other?
Code:$quoteFile = "quotes.txt"; //File holding quotes
$fp = fopen($quoteFile, "r"); //Opens file for read
$content = fread($fp, filesize($quoteFile));
$quotes = explode("\n",$content); //Put quotes into array
fclose($fp); //Close the file
srand((double) microtime()*10000000);
$index = (rand(1, sizeof($quotes)) - 1); //Pick random quote

