Monday, December 13, 2010

Free PHP Random quote script

This is a random quote script
By using this script you agree that we will not be held responsible for any damages to you or your business or website
For more scripts, tutorials, free Cpanel hosting and all round webmaster resources

<?


$random_text = rand(1,5);

if($random_text == "1") {
// change the text below for quote one
echo "This is random quote One!";
}elseif($random_text == "2") {
// change the text below for quote two
echo "This is random quote Two!";
}elseif($random_text == "3") {
// change the text below for quote three
echo "This is random quote Three!";
}elseif($random_text == "4") {
// change the text below for quote four
echo "This is random quote Four!";
}elseif($random_text == "5") {
// change the text below for quote five
echo "This is random quote Five!";
}
?>

By PHP with No comments

0 comments:

Post a Comment

    • Popular
    • Categories
    • Archives