So I’m trying to make a registration page. I have gone as far as making it so that when a user inputs information it saves in it in a MySQL database.
I have it so it saves the username, password and email, when a user tries to have the same username as a another user it doesn’t save it in the database
but lets them pass through to the index.php page I have setup. So how do I make it so that it doesn’t let them pass?
heres the code;
https://hastebin.com/oluzujisex.php