hi, i was wondering how i can use php to echo random phrases/quotes like
'blah blah blah'
'asldhasf kdjhfskjf hsjdhf'
and so on.
i did find something like this..
//Chooses a random number
$num = Rand (1,6);
//Based on the random number, gives a quote
echo "Time is money";
echo "An apple a day keeps the doctor away";
echo "Elmo loves dorthy";
echo "Off to see the wizard";
echo "Tomorrow is another day";
echo "PHP is cool!";
but for some reason, taht seems like it takes up too much space and too much time
i want a very simple script that is minimal and still works