You can restrict double values with UNIQUE.
Your problem isn't the database, but how you process the results.
E.g.
Note: this is not working code that you can just copy and paste and use. Just an example.PHP Code:case "register":
hasLogin = searchForLogin(username);
if (!hasLogin) {
createAdmin(username, password);
}





Reply With Quote