+ 2
If you need to generate random numbers in PHP, what method should follow?
Php
2 odpowiedzi
+ 4
The rand() function generates a random integer.
If you want a random integer between 10 and 100 (inclusive), use rand (10,100).
The mt_rand() function produces a better random value, and is 4 times faster than rand().
https://www.w3schools.com/php/func_math_rand.asp
0
rand() function