Answers for "how to call for a random number in php"

PHP
7

php random number

// $min and $max are optional
rand($min,$max);
Posted by: Guest on April-14-2020
0

creating random number betwwen ranges in php

The rand() function generates a random integer. Tip: If you want a random integer between 10 and 100 (inclusive), use rand (10,100). Tip: The mt_rand() function produces a better random value, and is 4 times faster than rand().
Posted by: Guest on December-27-2020

Code answers related to "how to call for a random number in php"

Browse Popular Code Answers by Language