02.03.2019, 21:04
Quote:
You could generate a random one. random(80000) + 5000. This is most definitely never going to give you the same number. However, if you wish to be absolute to never get the same number for two users, you might create a function to save used numbers and always check, if the number exists in the list.
|