title: How can i insert data from an XML into a database
body: <p>I want to insert the following XML file into a Mysql database using php
  </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;PrintLetterBarcodeData 
      uid="725733706873" 
      name="RAVINDER KUMAR" 
      gender="M" 
      yob="1996" 
      co="S/O KAKA RAM" 
      house="460A" 
      street="WARD NO. 6" 
      lm="NA" 
      loc="NA" 
      vtc="Nanyola (292)" 
      po="Naneola" 
      dist="Ambala" 
      state="Haryana" 
      pc="134003"
  /&gt;
  </code></pre>
  
  <p>How do I extract the data from this XML file to insert them into a database ?</p>