06.10.2011, 15:37
If you look carefully, you will notice there are some mistakes in your syntax. You should have ' instead of ` around your data. Also, it's not required to use ' around integers, use only for strings or float values.
Код:
UPDATE `houses` SET `Owner` = '%s', `Owned` = %d WHERE `ID` = %i