title: php string function concat
body: <pre><code>$contents  = "&lt;?xml version='1.0' ?&gt;
          &lt;authed&gt;1&lt;/authed&gt;
              &lt;book&gt;read&lt;/book&gt;";
  </code></pre>
  
  <p>im having a xml string like this
  i want to add all the elements inside root tag</p>
  
  <p>like this</p>
  
  <pre><code>$contents  = "&lt;?xml version='1.0' ?&gt;
          &lt;root&gt;
          &lt;authed&gt;1&lt;/authed&gt;
              &lt;book&gt;read&lt;/book&gt;
          &lt;/root&gt;";
  </code></pre>