24.05.2016, 16:58
First of all, if you escape playernames in the disconnect part, than also change this:
To this:
I saw the problem you have before in another topic, but don't know where is was unfortunately. Kind of weird since MySQL normally doesn't cut strings unless there are certain characters in there that are not compatible with the database charset.
PHP код:
UPDATE `playerinfo` SET `Online` = 1 WHERE `PlayerName` = '%s'
PHP код:
UPDATE `playerinfo` SET `Online` = 1 WHERE `PlayerName` = '%e'