title: Getting information from xml php
body: <p>I'm creating a script that will take users location from their ip.
  I saw this api.But know idea how i can get them in array and print them.</p>
  
  <p>Here is a sample link:
  <a href="http://ipinfodb.com/ip_query.php?ip=74.125.45.100&amp;timezone=true" rel="nofollow">http://ipinfodb.com/ip_query.php?ip=74.125.45.100&amp;timezone=true</a></p>
  
  <p>This a sample respones</p>
  
  <pre><code>&lt;Response&gt;
  &lt;Ip&gt;74.125.45.100&lt;/Ip&gt;
  &lt;Status&gt;OK&lt;/Status&gt;
  &lt;CountryCode&gt;US&lt;/CountryCode&gt;
  &lt;CountryName&gt;United States&lt;/CountryName&gt;
  &lt;RegionCode&gt;06&lt;/RegionCode&gt;
  &lt;RegionName&gt;California&lt;/RegionName&gt;
  &lt;City&gt;Mountain View&lt;/City&gt;
  &lt;ZipPostalCode&gt;94043&lt;/ZipPostalCode&gt;
  &lt;Latitude&gt;37.4192&lt;/Latitude&gt;
  &lt;Longitude&gt;-122.057&lt;/Longitude&gt;
  &lt;TimezoneName&gt;America/Los_Angeles&lt;/TimezoneName&gt;
  &lt;Gmtoffset&gt;-25200&lt;/Gmtoffset&gt;
  &lt;Isdst&gt;1&lt;/Isdst&gt;
  &lt;/Response&gt;
  </code></pre>
  
  <p>How do i get the information from this in an array and print?</p>