MySQL Forums
Forum List  »  PHP

Re: 2nd error. similar
Posted by: Barry Galbraith
Date: September 01, 2015 04:37PM

desc is a reserved word. You shouldn't use it as the name of a field, it'll cause you all sorts of grief (as you can see) if you do.

If you MUST use a reserved word, it must ALWAYS be enclosed with backticks `, up there, next to the 1 key on your keyboard.

Reserved words http://dev.mysql.com/doc/refman/5.6/en/keywords.html

Good luck,
Barry.

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.