Answers for "Write a PHP script to generate unique random numbers within a range. Sample Range : (11, 20)"

PHP
0

generate unique random number php

<?php
$n=range(11,20);
shuffle($n);
for ($x=0; $x< 10; $x++)
{
echo $n[$x].' ';
}
echo "\n"
?>
Posted by: Guest on November-28-2020

Code answers related to "Write a PHP script to generate unique random numbers within a range. Sample Range : (11, 20)"

Browse Popular Code Answers by Language