trajik Posted July 5, 2010 Share Posted July 5, 2010 (edited) solved can close the thread Edited July 5, 2010 by Guest Link to comment
MaddDogg Posted July 5, 2010 Share Posted July 5, 2010 "character" or "CHARACTER" is a predefined keyword in MySQL. You need to use a different column/field name. I've also had this problem once, with the keyword "read", so I just needed to change it to "hasRead", but until I found this out, it already drove me crazy Here is a list of the keywords/reserved words: http://dev.mysql.com/doc/refman/4.1/en/ ... words.html Link to comment
trajik Posted July 5, 2010 Author Share Posted July 5, 2010 Thanks that was it it worked it was driving me crazy thank you again Link to comment
dzek (varez) Posted July 5, 2010 Share Posted July 5, 2010 put you column name in ->> ` <--- this chars (quotes) (one the left from "1" key on keyboard) like Select `character` from `mytable` where id='5' Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now