Call us Toll-Free:
1-800-218-1525
Live ChatEmail us

 Sponsors

Topic Rotator

Code Wizard, 12-30-2006



<?php
/*
Topic Roundup Copyright 2000 Brian Ross
Version 1.0
brian@music4free.com
AIM: DeadBrain3
ICQ: 15273600
http://brian.zero-gravity.org/php/

How to install:
1. In the line $randomnumber = rand(0,4); change rand(0,4); to
say the first and last numbers of the random topic array.
2. Add and change the sample topics below.
3. Use a PHP include to insert this script into the title of
your website.
*/
srand((double)microtime()*1000000);
$randomtopic = rand(0,5);

if ($randomtopic == "0") {
echo ( "Brain's Pad - You know you want more!!");

} else if ($randomtopic == "1") {
echo ( "Brain's Pad - Why does it suck?");

} else if ($randomtopic == "2") {
echo ( "Brain's Pad - Can't Get Enough!!");

} else if ($randomtopic == "3") {
echo ( "Brain's Pad - Take It or Leave It!!");

} else if ($randomtopic == "4") {
echo ( "Brain's Pad - We Are Better Then The Other Guys!!");

} else if ($randomtopic == "5") {
echo ( "Brain's Pad - All That and More!!");

} else {
echo ( "ERROR: There was a problem running the script. ");
}
?>
Enjoyed this post?

Subscribe Now to receive new posts via Email as soon as they come out.

 Comments
Post your comments












Note: No link spamming! If your message contains link/s, it will NOT be published on the site before manually approved by one of our moderators.



About Us  |  Contact us  |  Privacy Policy  |  Terms & Conditions