What would be a good way to generate 7 unique random numbers between 1 and 10. I can\'t have any duplicates. I could write a chunk of PHP to do this (using rand() and pushin
Populate an array with ten elements (the numbers one through ten), shuffle the array, and remove the first (or last) three elements.