Whats wrong with this (SQL)?
#1

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).

Код:
mysql_fetch_field("MarriedTo",exstring);
PlayerInfo[playerid][pMarriedTo] = strmid(PlayerInfo[playerid][pMarriedTo], exstring, 0, strlen(exstring)-1, 255);
I used strickenkids mysql-plugin.

Is this the wrong reading / get method from the DB?

Anyone have a idea?

Thanks for help!

Greetz
Reply


Messages In This Thread
Whats wrong with this (SQL)? - by nescha - 20.04.2012, 23:37
Re: Whats wrong with this (SQL)? - by Ainseri - 20.04.2012, 23:44
Re: Whats wrong with this (SQL)? - by coole210 - 20.04.2012, 23:47
AW: Whats wrong with this (SQL)? - by nescha - 25.04.2012, 15:48
Re: Whats wrong with this (SQL)? - by wups - 25.04.2012, 15:50
Re: Whats wrong with this (SQL)? - by xxmitsu - 25.04.2012, 15:50

Forum Jump:


Users browsing this thread: 1 Guest(s)