This script will display a random text quote each time you refresh the page.
Just open up the file in Notepad or Notepad++ and edit the text where it says 'Random quote 1 of 5' to whatever you want. Then save the file and upload it back to your website.
File download link:
http://www.mediafire.com/?xqd2ijs3u94re2u
If you don't want to download, here is the PHP code:
I would show a demo of it, but my board is currently down due to my host, so I'm unable to provide a live demonstration.
Just open up the file in Notepad or Notepad++ and edit the text where it says 'Random quote 1 of 5' to whatever you want. Then save the file and upload it back to your website.
File download link:
http://www.mediafire.com/?xqd2ijs3u94re2u
If you don't want to download, here is the PHP code:
PHP:
<?
// This is a random quote script created by www.funkyvision.co.uk
// 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 please visit the site below
// http://www.funkyvision.co.uk
$random_text = rand(1,5);
if($random_text == "1") {
// change the text below for quote one
echo "Random quote 1 of 5";
}elseif($random_text == "2") {
// change the text below for quote two
echo "Random quote 2 of 5";
}elseif($random_text == "3") {
// change the text below for quote three
echo "Random quote 3 of 5";
}elseif($random_text == "4") {
// change the text below for quote four
echo "Random quote 4 of 5";
}elseif($random_text == "5") {
// change the text below for quote five
echo "Random quote 5 of 5";
}
?>
I would show a demo of it, but my board is currently down due to my host, so I'm unable to provide a live demonstration.