mySQL problem
#3

Lock is a reserved word, i believe this is your problem. This is why its considered good practice to surround column and table names with ` and `. You should definitely get in the habit of doing that.


Код:
INSERT INTO `vehicles` (`Model`, `Owner`, `Locked`, `Lock`, `Alarm`, `Insurance`, `Color1`, `Color2`, `Plate`, `vX`, `vY`, `vZ`, `Owned`) VALUES (%d, '%s', 0, 0, 0, 1, 0, 0, '%s', 1182.9319, -1324.0872, 13.5783, 1)
Reply


Messages In This Thread
mySQL problem - by printer - 11.01.2012, 08:47
Re: mySQL problem - by T0pAz - 11.01.2012, 09:01
Re: mySQL problem - by Kyosaur - 11.01.2012, 09:13

Forum Jump:


Users browsing this thread: 1 Guest(s)