Reading an XML file and store data to mysql database.
Posted
by Jack Brown
on Stack Overflow
See other posts from Stack Overflow
or by Jack Brown
Published on 2010-04-08T12:02:11Z
Indexed on
2010/04/08
12:03 UTC
Read the original article
Hit count: 246
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.
© Stack Overflow or respective owner