[MySQL] Syntax error, what?
#3

Here is a suggestion for correcting query syntax - remember that all or none of these things may help, and that some of these things may not be needed, but on the other hand, they may fix your error.

I assume your Bought field doesn't have the space in it ( Bo ught )
try putting the database and table name in the query, and use those funny half quote things.
try adding spaces after your field names, before the = sign.
try the query with and without the punctuation around the field values (despite marcels post above)
pawn Code:
UPDATE `database`.`table` SET `Int`= 6, `Vir` = 0 WHERE ...
Really you should be trying all these things yourself before posting on forums for help, but good luck anyway.
Reply


Messages In This Thread
[MySQL] Syntax error, what? - by DVDK - 18.12.2010, 21:38
Re: [MySQL] Syntax error, what? - by Marcel - 18.12.2010, 22:02
Re: [MySQL] Syntax error, what? - by Rachael - 18.12.2010, 22:42
Re: [MySQL] Syntax error, what? - by DVDK - 19.12.2010, 10:16
Re: [MySQL] Syntax error, what? - by Bumbis - 19.12.2010, 10:18
Re: [MySQL] Syntax error, what? - by DVDK - 19.12.2010, 10:29
Re: [MySQL] Syntax error, what? - by Rachael - 19.12.2010, 10:44
Re: [MySQL] Syntax error, what? - by armyoftwo - 19.12.2010, 11:24
Re: [MySQL] Syntax error, what? - by DVDK - 19.12.2010, 13:46
Re: [MySQL] Syntax error, what? - by Marcel - 20.12.2010, 21:46

Forum Jump:


Users browsing this thread: 1 Guest(s)