MySQL syntax error
#6

Ok now saving works. Getting now sql syntax error here:

pawn Код:
new query[128];
    format(query, sizeof(query), "UPDATE `players` SET `RegisterDate` = '%s', `RegisterIP` = '%s', `LastLogin` = '%s' WHERE `username` = '%s'", ReturnDate(), ReturnPlayerIp(playerid), ReturnDate(), Player[playerid][Name]);
    mysql_tquery(g_SQL, query);
RegisterDate and RegisterIP doesn't get saved.
Reply


Messages In This Thread
MySQL syntax error - by KinderClans - 07.08.2018, 21:30
Re: MySQL syntax error - by zPain - 07.08.2018, 21:32
Re: MySQL syntax error - by KinderClans - 07.08.2018, 21:36
Re: MySQL syntax error - by zPain - 07.08.2018, 21:39
Re: MySQL syntax error - by zPain - 07.08.2018, 21:47
Re: MySQL syntax error - by KinderClans - 07.08.2018, 21:47
Re: MySQL syntax error - by zPain - 07.08.2018, 21:54
Re: MySQL syntax error - by KinderClans - 07.08.2018, 21:58

Forum Jump:


Users browsing this thread: 2 Guest(s)