title: MySQL error - "You have an error in your SQL syntax"
body: <p>The error message I got:</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 ''word','group','selfnote') VALUES ('item','a','note to self')' at line 1</p>
  </blockquote>
  
  <p>The PHP code is:</p>
  
  <pre><code>$toq="INSERT INTO articles ('word','group','selfnote') 
  VALUES ('$ttle','$wrdr','$snote')";
  </code></pre>
  
  <p>I was trying to find solutins, but they didn't seem to work as echoing gives: </p>
  
  <pre><code>INSERT INTO articles ('word','group','selfnote') 
  VALUES ('item','a','note to self')
  </code></pre>
  
  <p>which seems nice to me. What is the problem?</p>