SA-MP Forums Archive
[MYSQL] PASSWORD issue - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [MYSQL] PASSWORD issue (/showthread.php?tid=479890)



mysql not saving password - Mattakil - 07.12.2013

This will write the name, and the IP, but not the password. It wont print the Query either.

pawn Код:
format(Query,sizeof(Query), "INSERT INTO `ACCOUNTS` (`IP`, `PASSWORD`, `NAME`, `ID`) VALUES ('%s', '%s', '%s', %d)",ip, inputtext, GetName(playerid), UID);
            print(Query);
            mysql_query(Query);



Re: [MYSQL] PASSWORD issue - Loot - 07.12.2013

How long did you defined the query?


Re: [MYSQL] PASSWORD issue - Mattakil - 07.12.2013

1000, its not that fo sure :P


Re: [MYSQL] PASSWORD issue - BizzyD - 07.12.2013

Does it say anything in the log files?


Re: [MYSQL] PASSWORD issue - Mattakil - 07.12.2013

I wanna kill myself, I was testing smth, so I saveed the gamemode to desktop and not /gamemodes


FOR FUCK SAKES