02.03.2018, 19:15
Quote:
Uhm, lol i don't really understand something. You want to update the table where the weapons will be saved right ? So.. why you don't use something like this:
PHP код:
EDIT: Now i get it, you defined the "PlayerName" in the database like "PlayerID" that's really confusing, why you not just use `Name` or something to be more clear for you. |
I have these logs, but nothing goes for MySQL
Код:
[17:07:50] [INFO] query "UPDATE `PlayersWeapon` SET `WeaponID` = '24', `Ammo` = '32766' WHERE `PlayerID` = 'Jnn_Doug'" successfully executed within 0.310 milliseconds [17:07:50] [DEBUG] CResultSet::Create(connection=0x6248e0, query_str='UPDATE `PlayersWeapon` SET `WeaponID` = '24', `Ammo` = '32766' WHERE `PlayerID` = 'Jnn_Doug'') [17:07:50] [DEBUG] created new resultset '0x67efd0' [17:07:50] [DEBUG] fetched MySQL result '0x0'