title: PHP how to save HTML string into database
body: <p>In response to an API call, I'm getting a full HTML script. Full means it includes HTML CSS and Javascript. Now I have that HTML as string in PHP variable.</p>
  
  <pre><code>$content = '&lt;html&gt;
  &lt;head&gt;
    &lt;script&gt;--Some javascript and libraries included--&lt;/script&gt;
    &lt;title&gt;&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
     &lt;style&gt;--Some Styling--&lt;/style&gt;
  &lt;/body&gt;
  &lt;/html&gt;';
  </code></pre>
  
  <p>Now, what is the best way to save this variable in Database and How? </p>
  
  <ul>
  <li>As a string with VARCHAR  or TEXT type?</li>
  <li>As a string with Base64 Encoded with VARCHAR or TEXT type?</li>
  <li>As a Binary with BLOB type?</li>
  </ul>
  
  <p>Or any other you would like to suggest(May be Serialize or Pack)?</p>