Thread
:
Mathematical functions in PHP
View Single Post
#
49
(
permalink
)
04-29-2008, 04:17 AM
senraj
D-Web Master
Join Date: Jul 2007
Posts: 418
Re: Mathematical functions in PHP
Hi,
In this
example
we will seed the random number generator:
PHP Code:
mt_srand
(
mktime
());
echo(
mt_rand
());
The
output
of the code above could be:
1132656473
__________________
Regards,
Senraj.A
senraj
View Public Profile
Send a private message to senraj
Find all posts by senraj