1. Keep an array to hold the random numbers
2. In order to add an element to this array, generate a random number in the required range, and check the array to see if the generated number is already a part of the array (using foreach)
3. If the generated random number is not a part of the array, append it to the array, else goto step 2.
4. Finish the algorithm when the array holds 15 elements
----
Alternatively, you can use 'in_array()' to check if a value exists in an array
http://www.w3schools.com/PHP/func_array_in_array.asp