Answers for "4 digit random number php"

PHP
7

php random number

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

php randon integer 4 digit

$digits = 3;
echo rand(pow(10, $digits-1), pow(10, $digits)-1);
Posted by: Guest on February-28-2021

Code answers related to "4 digit random number php"

Browse Popular Code Answers by Language