15.05.2014, 10:03
It isn't! You can do the same thing with 1 query instead with 2 your way would use. A query with SELECT clause for all the data for that player, assign them to variables and then comparing the password than selecting the password and if they do match to execute another query with all the data and assign them to variables.