M
M
Maxim Yakovenko2017-05-01 20:09:12
Database
Maxim Yakovenko, 2017-05-01 20:09:12

Generating unique username based on input?

Hello. There is a task: to give the user a similar list with possible usernames, if his input (in the field) is already in the database.
Example:
new user Vasya enters the name "Vasya", but it is already taken. The system offers him, for example, such a list: "Vasya1", "Vasya123", etc.
So, gentlemen, what can you advise from the point of view of implementation or theory? (What to read, what to watch). Thank you for your attention.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question