10.03.2012, 13:25
Quote:
You are missing field separators in your UPDATE query as far as I can see.
Invalid: UPDATE playerdata SET score= '%d', money= '%d' Faction= '%d' FactionLeader= '%d' Adminlvl= '%d' WHERE user='%s' Valid: UPDATE playerdata SET score= '%d', money= '%d', Faction= '%d', FactionLeader= '%d', Adminlvl= '%d' WHERE user='%s' Additionally, you don't need to use single quotes around integer/decimal values, so the code can easily become: UPDATE playerdata SET score = %d, money = %d, Faction = %d, FactionLeader = %d, Adminlvl = %d WHERE user = '%s' |