title: PHP SQL syntax error for insert into
body: <p>I have a bunch of php files corresponding to an application I am writing, using MySQL for my database structure. I know this questions has been asked before but I've been through most of the posts about it and can't find something that will help...</p>
  
  <p>In my PHP file I have a SQL query</p>
  
  <p><code>$group_sql = "INSERT INTO group (name, description, ownerEmail) VALUES ('$groupName', '$descrip', '$owner')";</code> </p>
  
  <p>that corresponds to a group table with three attributes: name, description, and owner email. $groupName, $descrip, $owner are three variables I have defined. I'm getting this syntax error when I try to run the query:</p>
  
  <blockquote>
    <p>Error: INSERT INTO group(name, description, ownerEmail) VALUES(hi, hi, test@example.com)
    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 'group(name, description, ownerEmail) VALUES(hi, hi, test@example.com)' at line 1</p>
  </blockquote>
  
  <p>Can someone please help me see what I'm doing wrong?</p>