Mysql no save
#5

pawn Код:
format(query, sizeof(query), "UPDATE `oweo_compte` SET `Level` = '%d', `Bankcash` = '%d', `Cash` = '%d', `Adminlevel` = '%d', `Army` = '%d', `CIA` = '%d', `LeaderGroove` = '%d', `Groove` = '%d', `LeaderBallas` = '%d', `Ballas` = '%d', `RegularPlayer` = '%d', `DrugHouseOwner` = '%d', `OttoOwner` = '%d', `TSkill` = '%d', `RobSkill` = '%d', `HasPackC4` = '%d', `HasPackRope` = '%d', `SavedWantedLevel` = '%d', `SavedJailTime` = '%d' WHERE `compte`='%s'",
        score, CompteBanque, money, AdmLevel, Army, CIA, Lgroove, groove, Lballas, ballas, Regular, Drug, Otto, Skill, RSkill, C4, Rope, Pmoney, Wanted, Jail, pname);
mysql_query(query);
How many times more to say... Put each Column Name/Tabel Name between Garve ( ` ) in order to avoid conflict between Synatx and Names. Same, Put Values between ( ' ) in order to avoid conflict between Syntax and Values.
Reply


Messages In This Thread
Mysql no save - by Baba_oweo - 12.02.2012, 15:46
Re : Mysql no save - by Baba_oweo - 14.02.2012, 10:40
Re : Mysql no save - by Vestax - 14.02.2012, 18:54
Re: Mysql no save - by lorigio - 14.02.2012, 19:05
Re: Mysql no save - by [MG]Dimi - 14.02.2012, 19:34

Forum Jump:


Users browsing this thread: 1 Guest(s)