Random Text Php Scripts

Go down

Random Text Php Scripts

Post  bullet4747 on Thu Nov 15, 2012 9:30 pm

Code:
<?
$random_text = array("Random Text 1",
                    "Random Text 2",
                    "Random Text 3",
                    "Random Text 4",
                    "Random Text 5");
srand(time());
$sizeof = count($random_text);
$random = (rand()%$sizeof);
print("$random_text[$random]");
?>
Copy And Paste your webpage. :\.o0
avatar
bullet4747
Admin
Admin

Posts : 64
Join date : 2011-10-10
Mig33 Chat Room : Nepali 4 mig33

http://mig33.forumotion.com

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum