mt_rand with two arguments
<?
print("Seeding the generator<BR>");
mt_srand((double)microtime() * 1000000);
print("With two arguments: " .mt_rand(27, 31) . "<BR>");
print("With two arguments: " .mt_rand(27, 31) . "<BR>");
print("With two arguments: " .mt_rand(27, 31) . "<BR>");
?>
Related examples in the same category