in reply to Autogenerating usernames
I've had success with the following approach (John Smithenstien) is the example username:
This requires two queries and one update to the DB, at most. It implements a rule that is easily understood and guarantees no duplicates. Obviously, there are many variations on this simple rule, but it's best to keep the approach straight-forward.
|
|---|