php random number
// $min and $max are optional
rand($min,$max);
php random number
// $min and $max are optional
rand($min,$max);
php random 5 digit number
$limit = 3;
echo random_int(10 ** ($limit - 1), (10 ** $limit) - 1);
php randon integer 4 digit
$digits = 3;
echo rand(pow(10, $digits-1), pow(10, $digits)-1);
generate unique random number php
<?php
$n=range(11,20);
shuffle($n);
for ($x=0; $x< 10; $x++)
{
echo $n[$x].' ';
}
echo "\n"
?>
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us