/ Published in: PHP

Generating Array of Un-repeated Random Variables In User-Defined Bounds
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php function GetUnrepeatedRandomVariables($minIndex,$maxIndex) { while(1) { break; } return $res; } $arr = GetUnrepeatedRandomVariables(0, 10); foreach ($arr as $val) print($val ."<br />"); ?>
Comments
