Answers for "php create a string with 4 digit random number"

PHP
1

generate random number of 4 digit in php

<?php
$FourDigitRandomNumber = mt_rand(1111,9999);
echo $FourDigitRandomNumber;
?>
Posted by: Guest on October-16-2021

Code answers related to "php create a string with 4 digit random number"

Browse Popular Code Answers by Language