Random Number Without Duplicate
Copy this code and paste it in your HTML
$count=8;
for($k=1;$k<=$count;$k++)
{
$loop=true;
while($loop==true)
{
$loop=false;
for($h=1;$h<$k;$h++)
{
if($var{$h}==$var{$k})
{
$loop=true;
}
}
}
}
for($arr=0;$arr<$count;$arr++)
{
}
Report this snippet