27.08.2013, 22:09
Greetings,
Hello guys, well today I have a problem. I know about mySQL, I saw a lot of tutorials and I know I need to put this into the script but what I need is someone to help me to put this into the dialog of register and login
If anyone can help me
Regards,
Pablo
Hello guys, well today I have a problem. I know about mySQL, I saw a lot of tutorials and I know I need to put this into the script but what I need is someone to help me to put this into the dialog of register and login
Код:
REGISTER: mysql_query("INSERT INTO `users` (`username`, `password`) VALUES ('%s', MD5('%s'))", PlayerName, password); LOGIN: mysql_query("SELECT `password` FROM `users` WHERE `username` = '%s'", PlayerName);
Regards,
Pablo