MYSQL Crashing my server?
#1

pawn Код:
format(file,sizeof(file),"INSERT INTO users (`username`,`password`,`PhoneNumb`) VALUES('%s','%s','%i')",PlayerName(playerid),pass,CurrentPhone);
            mysql_query(file);
This will crash my server?
Reply
#2

It shouldnt crash your server, as i dont see any errors within the code
Reply
#3

The query itself shouldn't crash the server.
pawn Код:
format(file,sizeof(file),"INSERT INTO `users` (`username`,`password`,`PhoneNumb`) VALUES ('%s','%s', '%i');", PlayerName(playerid), pass, CurrentPhone);
mysql_query(file);
Reply
#4

Quote:
Originally Posted by Not available
Посмотреть сообщение
The query itself shouldn't crash the server.
pawn Код:
format(file,sizeof(file),"INSERT INTO `users` (`username`,`password`,`PhoneNumb`) VALUES ('%s','%s', '%i');", PlayerName(playerid), pass, CurrentPhone);
mysql_query(file);
That doesn't insert, though.. also, password = '%i' it's udb hashes.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)