I would like to generate a 10 unique number for a user immediately they Register on the website sent via email and probably they will use the generated number to login to the website
Asked
Active
Viewed 9 times
0
-
You can use php function [rand](https://www.php.net/manual/en/function.rand.php) `rand(1111111111,9999999999); ` – Robin Singh Jan 22 '21 at 12:25
-
Always a search before you ask – RiggsFolly Jan 22 '21 at 12:28