Monday, December 31, 2007

Shuffle

$numbers= range(1, 20);
srand((float)microtime() * 1000000);
shuffle($numbers);
foreach (
$numbers as $number) {
echo
"$number ";
}

1 comment:

ashok said...

Very nice program. Keep it up.