Why do I go to check the database but it doesn't save it?
What i am seeing is that your DB include is commented. Could save a lot of frustration if you uncomment ;)
You're a big fan of using ifelse as I see, I would recommend using switch() statements or using ||, which stands for OR, in one if-statement. With || you can run code if 1 or more values equals to true. but not if all the values are true. Then the if-staement will not be executed.
What I am also seeing, and that is what may cause your SQL query not working, is that the Password Is blue-colored. This means that SQL may can recognise this as an SQL instruction. bij putting "``" around Password, you are sure it will be recognized as a table.
I don't know if you're using w3schools to peek which code you need, but that site could help a lot.