I’m trying to get data from multiple XML feeds and copy that data to my local database. I’ve tried looking into SimpleXML and some other things I’ve found on the internet but I’m wondering what the best route to take with something like this.
I’m looking for something that will not only get the XML from the secure location but also convert it to a series of arrays.
This is a pretty simple process that you can accomplish with CURL and some sort XML to array class. I’ll give you details on both here.
The PHP:
And there you have it.