How would i change the font color in this php script? - 03/06/03 07:52 AM
Code
<? $delim = "\n"; $quotefile = "quotes.txt"; // okay, let's get going. $fp = fopen($quotefile, "r"); $contents = fread($fp, filesize($quotefile)); $quote_arr = explode($delim,$contents); fclose($fp); // initiate randomness srand((double)microtime()*1000000); // generate random quote index $quote_index = (rand(1, sizeof($quote_arr)) - 1); // get quote at $quote_index and return it $herequote = $quote_arr[$quote_index]; echo $herequote; ?>