title: Mysql Insert query in Java
body: <p>Im getting an sql syntax error somewhere at the end of this code line, i have tweaked it and mixed a bit with it but so far i haven't solved it. </p>
  
  <pre><code> strSQL="INSERT INTO " + tableName + " VALUES " + "(" + id + ",'" + rname + "','" + rfn + "','" + rmn + ")";
  </code></pre>
  
  <p>Any help appreciated!</p>