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


echo rand();


to see more options in rand() function visit www.php.net/rand

Get custom programming done at GetAFreelancer.com!

No comments:

Post a Comment