DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
php random 5 digit number
$limit = 3; echo random_int(10 ** ($limit - 1), (10 ** $limit) - 1);
Source by www.howtocodeschool.com #
PREVIOUS
NEXT
Tagged:
#php
#random
#digit
#number
ADD COMMENT
Topic
COMMENT
Name
5+4 =
Submit