MySQL R41
#3

You mean like this??
PHP Code:
for(new 016i++)
            {
                
PlayerInfo[playerid][Salt][i] = random(94) + 33;
                
SHA256_PassHash(inputtextPlayerInfo[playerid][Salt], PlayerInfo[playerid][Password], 65);
            }
            new 
query[221];
            
mysql_format(g_SQLquerysizeof(query), "INSERT INTO `players` (`username`, `password, `salt`), VALUES ('%e', '%s', '%e')"PlayerInfo[playerid][Name], PlayerInfo[playerid][Password], PlayerInfo[playerid][Salt]);
            
mysql_tquery(g_SQLquery"OnPlayerRegister""d"playerid 
Reply


Messages In This Thread
MySQL R41 - by Micko123 - 27.10.2016, 19:52
Re: MySQL R41 - by Vince - 27.10.2016, 19:55
Re: MySQL R41 - by Micko123 - 27.10.2016, 19:59
Re: MySQL R41 - by Micko123 - 27.10.2016, 20:04
Re: MySQL R41 - by Konstantinos - 27.10.2016, 20:11
Re: MySQL R41 - by Micko123 - 27.10.2016, 20:13
Re: MySQL R41 - by Konstantinos - 27.10.2016, 20:17
Re: MySQL R41 - by Micko123 - 27.10.2016, 20:24
Re: MySQL R41 - by Konstantinos - 27.10.2016, 20:26
Re: MySQL R41 - by Micko123 - 27.10.2016, 20:28

Forum Jump:


Users browsing this thread: 2 Guest(s)