title: Store HTML into MySQL database
body: <p>I'm trying to store a <code>String</code> which contains HTML in a MySQL database using <code>Longtext</code> data type. But it always says "You have an error in your SQL syntax". I tried to store a normal <code>String</code> and it works.</p>
  
  <p><strong>Update</strong>: </p>
  
  <p>This is the query:</p>
  
  <pre><code>st.executeUpdate("insert into website(URL,phishing,source_code,active) values('" + URL + "','" + phishingState + "','" + sourceCode + "','" + webSiteState + "');");
  </code></pre>
  
  <p>I'm using Java.</p>