He's made a a very simple one that has a set password, not MySQL :P So he's checking that the username is the same as the variables and then that they match up with the two they should be. I think?
No, he is checking if the username thats been posted is the same as the variable.. twice..
07-08-2009, 03:17 PM
Dentafrice
I think he meant for it to be $_POST["password"] == $password on the second part, but copy and pasted it and forgot to change it.