$zakres = range(0,49); shuffle($zakres); for ($i = 0; $i<6; $i++){ echo $zakres[$i].' '."
"; }