 |
Mycket flitig postare
|
|
Reg.datum: Jan 2003
Inlägg: 935
|
|
Mycket flitig postare
Reg.datum: Jan 2003
Inlägg: 935
|
Tänkte jag kunde bidra med min färdiga kod:
$input = array("1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29");
$rand_keys = array_rand($input, 5);
print $input[$rand_keys[0]];
print $input[$rand_keys[1]];
print $input[$rand_keys[2]];
print $input[$rand_keys[3]];
print $input[$rand_keys[4]];
|