homer.favenir Posted September 6, 2010 Share Posted September 6, 2010 hi, how can i make a autoupdate currency table currency value CHF USD EURO KD (Kuwaiti Dinars) 1 Converted Value Converted Value Converted Value when the page loads, it will convert the currency and the value of CHF, USD and EURO are real time please kindly help tia Link to comment https://forums.phpfreaks.com/topic/212664-currency-on-the-website/ Share on other sites More sharing options...
JasonLewis Posted September 6, 2010 Share Posted September 6, 2010 Last time I did something like this was for an online store, and I needed to change product prices to the users correct currency. The European Central Bank has a free foreign exchange rates XML file that is updated on a daily basis, so it's not live. But from what I can recall if you want a frequently updated list you'll need to pay for it. The ECB XML can be found at: http://www.ecb.int/stats/exchange/eurofxref/html/index.en.html It also includes an example PHP script on how to read the XML file, although I'd use an XML parser. Link to comment https://forums.phpfreaks.com/topic/212664-currency-on-the-website/#findComment-1107820 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.