View file random.php

File size: 1.02Kb
<? 
 //Chooses a random number 
 $num = Rand (1,6); 
 //Based on the random number, gives a quote 
 switch ($num)
 {
 case 1:
 $main.="<span style='color:yellow'>The statistics on sanity are that one out of every four people from the UK is suffering from some form of mental illness. Think of your three best friends. If they are okay, then it's you. </span>";
 break;
 case 2:
 $main.="<span style='color:yellow'>I'm trying to see things from your point of view, but I can't get my head that far up your a**</span>";
 break;
 case 3:
 $main.="<span style='color:yellow'>There is no such thing as a stupid question, just stupid people who ask questions. </span>";
 break;
 case 4:
 $main.="<span style='color:yellow'>If I were two-faced, would I be wearing this one?</span>";
 break;
 case 5:
 $main.="<span style='color:yellow'>Never take life seriously. Nobody gets out alive anyway.</span>";
 break;
 case 6:
 $main.="<span style='color:yellow'>What you call dog with no legs?
Don't matter what you call him, he ain't gonna come.</span>";
 }
 ?>