title: escaping html tags and reading only the text in php?
body: <p>I was wondering is there a way to escape all html tags from a a bunch of html code, and extract only the text i.e.</p>
  
  <pre><code>&lt;strong&gt;this is strong&lt;/strong&gt;
  &lt;br /&gt;
  &lt;h1&gt; this is a header&lt;/h1&gt;
  </code></pre>
  
  <p>and I want to get the text between the tags only, so basically only
  <code>this is strong this is a header</code></p>