• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[PhpMyAdmin] chaning id for items with specifed id

arheon

Own3d PlAx.'?
Joined
Aug 31, 2009
Messages
92
Reaction score
3
I want to change a crystal coin for platinum for all players but i don't know what should i type in pma.
I tried on my own but im fail in mysql xD.
PHP:
UPDATE player_items WHERE itemtype = '2160' SET itemtype = '2152'
i tried something like that but it showed error like that :
PHP:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE itemtype ='2160' SET itemtype ='2152'' at line 1

rep + for help
 
PHP:
UPDATE `player_items` SET `player_items`.`itemtype` = 2152 WHERE `player_items`.`itemtype` = 2160;
 
Back
Top