Anansie Posted May 31, 2003 Share Posted May 31, 2003 Hello! I am learning how to use MySQL and i have this little problem with inserting values; after i type this: INSERT INTO books (author, title) VALUES (`William Shakespeare`, `Hamlet`); the message I receive is : Unknown column `William Shakespeare` in `field list`. What is wrong? I would appreciate if i receive a little help. Quote Link to comment https://forums.phpfreaks.com/topic/533-inserting/ Share on other sites More sharing options...
effigy Posted May 31, 2003 Share Posted May 31, 2003 try using single quotes, i think back quotes are just for table names. Quote Link to comment https://forums.phpfreaks.com/topic/533-inserting/#findComment-1792 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.