MY NODE
SHARING MY KNOWLEDGE
Showing posts with label
random number
.
Show all posts
Showing posts with label
random number
.
Show all posts
Tuesday, June 3, 2008
How to get a random number in PHP
Looking a way to generate a random number using a PHP function.
Here how it's done, pretty easy to get a random number
<?php
echo rand();
?>
to see more options in rand() function visit
www.php.net/rand
Older Posts
Home
Subscribe to:
Posts (Atom)