title: an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax
body: <p>java.sql.SQLException: Syntax error or access violation, message from server:</p>
  
  <blockquote>
    <p>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 ''list' (fname1,lname1,email1,email,'dob1',str,city,state,zip,order,qua,rate,comm' at line 1"</p>
  </blockquote>
  
  <pre><code>String k="insert into `list` (fname1,lname1,email1,email,'dob1',str,city,state,zip,order,qua,rate,comment,amt) values ('"+fname1+"','"+lname1+"','"+email1+"','"+email+"','"+dob1+"','"+str+"','"+city+"','"+state+"',"+zip+",'"+ord+"',"+qua+","+rating+",'"+comment+"',"+amt+")";
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/dTQJg.png" rel="nofollow noreferrer">Here the table desc</a></p>