title: Modify html via php
body: <p>Hello I'm doing this to add a string after a div in an html page with jquery:</p>
  
  <pre><code>&lt;a href="javascript:void(0);" onclick="PrependItemsToList();"&gt;Prepend items&lt;/a&gt;   
  
  &lt;script type="text/javascript"&gt;
  function PrependItemsToList()
  {       
      $("#content_gallery").prepend($("&lt;li&gt;&lt;/li&gt;").text("prepend() item"));
  
  }
  &lt;/script&gt; 
  </code></pre>
  
  <p>Now I need to do it server side, any idea on how to implement it in php? I found phpquery but didn't find good docs about it.</p>