title: import xml file into mysql database using php
body: <p>the following data is my xml file. how to import it in mysql database using php</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;title name="employee_details"&gt;
      &lt;Item&gt;
          &lt;field name="employee_name"&gt;Hari&lt;/field&gt;
          &lt;field name="employee_code"&gt;101&lt;/field&gt;
          &lt;field name="employee_email"&gt;hari@gmail.com&lt;/field&gt;
          &lt;field name="employee_designation"&gt;Trainee&lt;/field&gt;
          &lt;field name="employee_salary"&gt;6000&lt;/field&gt;
      &lt;/Item&gt;
      &lt;Item&gt;
          &lt;field name="employee_name"&gt;Syed&lt;/field&gt;
          &lt;field name="employee_code"&gt;102&lt;/field&gt;
          &lt;field name="employee_email"&gt;syed@gmail.com&lt;/field&gt;
          &lt;field name="employee_designation"&gt;Trainee&lt;/field&gt;
          &lt;field name="employee_salary"&gt;6000&lt;/field&gt;
      &lt;/Item&gt;
      &lt;Item&gt;
          &lt;field name="employee_name"&gt;Raja&lt;/field&gt;
          &lt;field name="employee_code"&gt;103&lt;/field&gt;
          &lt;field name="employee_email"&gt;raja@gmail.com&lt;/field&gt;
          &lt;field name="employee_designation"&gt;Trainee&lt;/field&gt;
          &lt;field name="employee_salary"&gt;6000&lt;/field&gt;
      &lt;/Item&gt;
      &lt;Item&gt;
          &lt;field name="employee_name"&gt;Murali&lt;/field&gt;
          &lt;field name="employee_code"&gt;104&lt;/field&gt;
          &lt;field name="employee_email"&gt;murali@gmail.com&lt;/field&gt;
          &lt;field name="employee_designation"&gt;Trainee&lt;/field&gt;
          &lt;field name="employee_salary"&gt;6000&lt;/field&gt;
      &lt;/Item&gt;
  &lt;/title&gt;
  </code></pre>
  
  <p>please help me to import it.</p>