SA-MP Forums Archive
Load mysql data (Maybe newbie question) - 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: Load mysql data (Maybe newbie question) (/showthread.php?tid=449374)



Load mysql data (Maybe newbie question) - NeroX98 - 08.07.2013

Hi guys

I've already made a saving system sucssessfully but the load system is making me problems...

The problem is that when i want to get a data from the mysql database (just for strings) i always get:
Ex. test (from the database) and when i load it i get ◘est.

I load it with
Код:
    PlayerInfo[playerid][pAdminPW] = cache_get_field_content(0, "pAdminPW", podatok);
    printf("%s", PlayerInfo[playerid][pAdminPW]);
HELP !