Hallo Leute;
folgender Code:
<?php
$input = array ("01", "02", "07", "09", "11", "13");
srand ((float) microtime() * 10000000);
$output = array_rand ($input, 2);
echo $input[$output[0]];
?>
Warum bekomme ich nie Nummer "11"???
Danke,
Matthias
Hallo Leute;
folgender Code:
<?php
$input = array ("01", "02", "07", "09", "11", "13");
srand ((float) microtime() * 10000000);
$output = array_rand ($input, 2);
echo $input[$output[0]];
?>
Warum bekomme ich nie Nummer "11"???
Danke,
Matthias