Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php randon integer 4 digit

$digits = 3;
echo rand(pow(10, $digits-1), pow(10, $digits)-1);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #randon #integer #digit
ADD COMMENT
Topic
Name
9+7 =