<?php
srand((float) microtime() * 10000000);
// Quotes go inside the array
$quote = array("Hi! How are you ?", "Hey! Good to see you !",
"Hey Man ! How are you doin?","Have'nt we met before!");
// Random quote is generated by array_rand and the variable is assigned to it
//The number in the parenthesis = number of quotes you have in total
$echo = array_rand($quote,4);
?>
<center> <h2>
<?
echo $quote[$echo[1]];
?>
</h2>
<center>
After running the script , just refresh your browser to get the random quotes in succession.