I am trying to create a login-registration system with PHP mysql and HTML. I want that, when user will register with his email and password, an unique ID will generate into database only for him. Example: when a user register an unique number auto create like 1, 2, 3, 4... I want an unique ID of 5 digits instead of 1, 2, 3 auto increment number.
[![enter image description here](https://i.stack.imgur.com/wFAL7.png)](https://i.stack.imgur.com/wFAL7.png)
[![enter image description here](https://i.stack.imgur.com/5CfXs.png)](https://i.stack.imgur.com/5CfXs.png)