anyone have some exp with mysql would have a look and tell me what is wrong with that **** command
Code:
MySqlCommand Cmd = new MySqlCommand("UPDATE `guilds` SET `Wins` = " + TheGuild.Wins + ", `HoldingPole` = " + TheGuild.HoldingPole + ", `Bulletin` = " + TheGuild.GBull + ", `Enemies` = " + AllEnemies + ", `Allies` = " + AllAllies + ", `Fund` = " + TheGuild.GFund + ", `Members` = " + TheGuild.GMems.Count + " WHERE `GuildID` = " + ID, DatabaseConnection.NewConnection());
and the same msg appears once be4 when i tried to save the player spouseQuote:
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 Enemies=0,Allies=2,Fund=5000,Members=1, where GuildId=1 Line 1






