# Tired eye's and MySQL errors... :(

**URL:** https://forum.kirupa.com/t/tired-eyes-and-mysql-errors/227165
**Category:** programming
**Created:** [May 28, 2007, 1:32am UTC](https://forum.kirupa.com/t/tired-eyes-and-mysql-errors/227165 "2007-05-28T01:32:13Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![lorren\_biffin](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/lorren_biffin/32/2726_2.png) [@lorren\_biffin](https://forum.kirupa.com/u/lorren_biffin)
#### Post date: [May 28, 2007, 1:32am UTC](https://forum.kirupa.com/t/tired-eyes-and-mysql-errors/227165/1 "2007-05-28T01:32:13Z")

</div>

$query = “INSERT INTO books (key,author,title,publisher,year,cat) VALUES (’$bookKey’,’$auth’,’$title’,’$publisher’,’$year’,’$cat’);”;

Can anybody tell me what’s wrong with the above query? I, for the life of me, can’t find anything odd about it, but I’m also very tired…can anybody find Waldo?

**The Exact Error:**

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘key,author,title,publisher,year,cat) V’ at line 1
