how do i make it so that when users register they cant create a same username as someone else and it checks the database first and make sure there isnt one created already?
to make is so two people cant have the same name you need to take the name being entered and compare it to the names already in the database just a few lines of code can do that for you it is not to had if you know anything about php so when passing it over to be entered pull and compare it if they did pick the same name just include the form again with all the info entered but the name