Syntax errors
#2

Mod is a reserved word, if you are going to use it as a column name, you need to suround it by `'s (`mod`).

http://dev.mysql.com/doc/refman/5.1/...ved-words.html


THIS is why people need to surround their tables and columns with `'a :P.
Reply


Messages In This Thread
Syntax errors - by ihatetn931 - 19.08.2010, 19:55
Re: Syntax errors - by Kyosaur - 19.08.2010, 20:56
Re: Syntax errors - by ihatetn931 - 19.08.2010, 21:06
Re: Syntax errors - by Kyosaur - 19.08.2010, 21:14
Re: Syntax errors - by ihatetn931 - 19.08.2010, 21:19
Re: Syntax errors - by Kyosaur - 19.08.2010, 21:21
Re: Syntax errors - by ihatetn931 - 19.08.2010, 21:28
Re: Syntax errors - by Kyosaur - 19.08.2010, 21:45
Re: Syntax errors - by ihatetn931 - 19.08.2010, 21:59
Re: Syntax errors - by ihatetn931 - 20.08.2010, 06:28

Forum Jump:


Users browsing this thread: 3 Guest(s)