I have been looking into cURL to understand how to use this to grab web pages, but I have become stuck trying to get the specific information I require.
I have looked at simpleXML, PHP Implode & Explode as well as Regex but am struggling to get my head around how to go about this.
I need a certain amount of currencies and their exchange rates, rather than collecting data from multiple sources I was hoping to find one source and have come across:
I would assume 'cur' to be 1 USD, but I am unsure how to get the data seperated as I require so I can enter it into the database in fields such as Currency - Rate.
There will be other fields but I will look onto gathering that data when I can grasp how to get this initial problem sorted.
If you have other sources which are preferable then I am open to suggestions (Xe seems to list the currencies as well but this looks like it would involve some kind of script to interact with http://www.xe.com/ucc/convert.cgi?
to get rates one by one - please correct me if I am wrong) but if you could help lead me to understanding how to gather this information to enter into database as required I would really appreciate it.