Generate unique number when registering a new user
Question
I know there are userID, username in the database, but I want a formatted and unique number for physical world use. For example: “2014xxxx” 201414:year,xxxx:generate randomly when registering a user.
Is it possible and if possible, what is the simplest way and fastest way to do so?
0
id, users
8 years
2015-06-15T01:56:07-05:00
2015-06-15T01:56:07-05:00 0 Answers
92 views
0
Leave an answer