title: how to edit html in php
body: <p>I have a string somethink like </p>
  
  <pre><code>   &lt;p&gt;&lt;img alt="twerk team" class="pyro-image" src="http://localhost/test/files/thumb/8/595" style="float: none;" /&gt;&lt;/p&gt;
  </code></pre>
  
  <p>and what i want to add new string in that</p>
  
  <pre><code>&lt;p&gt;&lt;img alt="twerk team" class="pyro-image" src="http://localhost/test/files/thumb/8/595/test_image.jpg" style="float: none;" /&gt;&lt;/p&gt;
  </code></pre>
  
  <p>i have tried DOMDocument and Simple HTML parser but not able to do the same. please have a look.</p>