20.04.2012, 23:37
Hey guys,
i have a little problem with my SQL-Script.
When a user login, the DB should read the string from the line. It was stored properly, but it will not read correctly from the DB. For example: I'm married to "QueenHard", it it is read out as "ueen Hard". I also see sometimes special characters / after the name (ingame).
I used strickenkids mysql-plugin.
Is this the wrong reading / get method from the DB?
Anyone have a idea?
Thanks for help!
Greetz
i have a little problem with my SQL-Script.
When a user login, the DB should read the string from the line. It was stored properly, but it will not read correctly from the DB. For example: I'm married to "QueenHard", it it is read out as "ueen Hard". I also see sometimes special characters / after the name (ingame).
Код:
mysql_fetch_field("MarriedTo",exstring); PlayerInfo[playerid][pMarriedTo] = strmid(PlayerInfo[playerid][pMarriedTo], exstring, 0, strlen(exstring)-1, 255);
Is this the wrong reading / get method from the DB?
Anyone have a idea?
Thanks for help!
Greetz