Reading an XML file and store data to mysql database.
- by Jack Brown
Hi I need the following php script to do a currency conversion using a different XML file.
Its a script from white-hat design
http://www.white-hat-web-design.co.uk/articles/php-currency-conversion.php
The script needs to be amended to do the following:
1, The php script downloads every 24 hours an xml file from
rss.timegenie.com/foreign_exchange_rates_forex
rss.timegenie.com/forex.xml rss.timegenie.com/forex2.xml
2, It then stores the xml file data/contents to a mysql database file ie currency and rate.
Any advice would be appreciated.