PHP XML Feed - Exchange Rates

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
koolsamule
Forum Contributor
Posts: 130
Joined: Fri Sep 25, 2009 10:03 am

PHP XML Feed - Exchange Rates

Post by koolsamule »

Hi Chaps,

I'm looking for an PHP script that will read an XML feed/file to show the current exchange rate from Euros into US Dollars and GB Pound Sterling.

I've found an XML file: http://www.ecb.europa.eu/stats/eurofxre ... -daily.xml

But I'm not sure how to just pull through the values for USD/GBP, into PHP variables.

If there is an easy/better way to get the same result, then I'd be glad to learn.
klevis miho
Forum Contributor
Posts: 413
Joined: Wed Oct 29, 2008 2:59 pm
Location: Albania
Contact:

Re: PHP XML Feed - Exchange Rates

Post by klevis miho »

koolsamule
Forum Contributor
Posts: 130
Joined: Fri Sep 25, 2009 10:03 am

Re: PHP XML Feed - Exchange Rates

Post by koolsamule »

nice one, cheers
Post Reply