Bulletmig33
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Random Text Php Scripts

Go down

Random Text Php Scripts Empty Random Text Php Scripts

Post  bullet4747 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
bullet4747
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

- Similar topics

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