Skip to content

Instantly share code, notes, and snippets.

@wboykinm
Created September 20, 2013 18:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wboykinm/6642100 to your computer and use it in GitHub Desktop.
Save wboykinm/6642100 to your computer and use it in GitHub Desktop.
<?php
# Read the XML file
$test1 = file_get_contents('http://www.afdb.org/fileadmin/uploads/afdb/Documents/Generic-Documents/IATIBotswanaData.xml');
$xmlfile = simplexml_load_string($test1);
echo $xmlfile;
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment