mySQL dialog to register/login help
#1

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

Код:
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);
If anyone can help me

Regards,
Pablo
Reply


Messages In This Thread
mySQL dialog to register/login help - by PabloDiCostanzo - 27.08.2013, 22:09
Re: mySQL dialog to register/login help - by cpbarn - 27.08.2013, 23:13
Re: mySQL dialog to register/login help - by zaider - 27.08.2013, 23:16
Re: mySQL dialog to register/login help - by PabloDiCostanzo - 27.08.2013, 23:18
Re: mySQL dialog to register/login help - by zaider - 28.08.2013, 00:12
Re: mySQL dialog to register/login help - by [HiC]TheKiller - 28.08.2013, 00:38
Re: mySQL dialog to register/login help - by [HiC]TheKiller - 28.08.2013, 00:41

Forum Jump:


Users browsing this thread: 1 Guest(s)