MySQL refuses to save users data
#1

Hello, I am trying to convert my script in to mysql. But it refuses to save users.
This is my register dialog:

pawn Код:
new EscapedText[60],Query[80];
        new name[MAX_PLAYER_NAME];
        GetPlayerName(playerid, name, sizeof(name));
        mysql_real_escape_string(inputtext, EscapedText);
        format(Query,sizeof(Query),"INSERT INTO `users` (Username,Password,Score,AdminLevel) VALUES ('%s','%s,'1'0')",GetPName(playerid),EscapedText);
        mysql_query(Query);
        mysql_store_result();
        mysql_free_result();
        PlayerInfo[playerid][pSurvivors] = 1;
        IsInTut[playerid] = 1;
Using the mysql plugin by Stricken. Why dont the users save? :P
Reply


Messages In This Thread
MySQL refuses to save users data - by RedWolfX - 28.09.2013, 18:20
Re: MySQL refuses to save users data - by zT KiNgKoNg - 28.09.2013, 18:21
Re: MySQL refuses to save users data - by RedWolfX - 28.09.2013, 18:41
Re: MySQL refuses to save users data - by x96664 - 28.09.2013, 18:51
Re: MySQL refuses to save users data - by RedWolfX - 28.09.2013, 19:03
Re: MySQL refuses to save users data - by Patrick - 28.09.2013, 19:09
Re: MySQL refuses to save users data - by x96664 - 28.09.2013, 19:10
Re: MySQL refuses to save users data - by Riddy - 28.09.2013, 19:12
Re: MySQL refuses to save users data - by Patrick - 28.09.2013, 19:14
Re: MySQL refuses to save users data - by RedWolfX - 28.09.2013, 19:19

Forum Jump:


Users browsing this thread: 1 Guest(s)