I’ve looked at several tutorials including the Kirupa ones, but it’s still doing my head in, and I honestly don’t have that much time to spend learning this PHP+XML business for this particular job…
This is a sample of the XML I will be using:
http://www.xe.com/dfs/sample-usd.xml
It contains exchange rates… They are contained within the <currency> tags. I basically just need to extract the <csymbol> and <crate> of a few different currencies (and subsequently dump them into a very simple MySQL db with two fields).
So… Say I needed the script to extract the exchange rates for GBP, NZD and CAD… Could someone please hold my hand and show me how to do it?
btw, I’m using PHP 4, so I can’t use any of those wonderful simplexml functions
Thanks in advance!!!