0

How to use random function in php?

How to use it, please give me examples

25th Dec 2018, 7:05 PM
TechnoWolf
TechnoWolf - avatar
4 odpowiedzi
+ 4
Use mt_rand() function to generate random numbers. Reference: http://php.net/manual/en/function.mt-rand.php Hth, cmiiw
25th Dec 2018, 7:19 PM
Ipang
+ 3
You're welcome, glad to help : )
25th Dec 2018, 7:29 PM
Ipang
+ 1
Thank you
25th Dec 2018, 7:28 PM
TechnoWolf
TechnoWolf - avatar
+ 1
mt_rand(from,to);
25th Dec 2018, 8:44 PM
Adarsh.n. Bidari
Adarsh.n. Bidari - avatar