array_rand is handy for getting random values:
print($random_text[array_rand($random_text)]);
from a file:
$file = file("randomquotes.txt"); print(trim($file[array_rand($file)]));