Hello everyone! I have this XML feed: http://bnm.md/md/official_exchange_rates?get_xml=1&date=19.01.2009 Could someone recommend me a script that could output the data by date like in this page? http://bnm.md/md/official_exchange_rates There is no need for the date chooser. Could an expert help me?
Thank you a lot! One more thing. Is it possible to set up a cron to the .php file and the .xml should be just once a day and not every time the page is refreshed?
Why? You need to load the .xml file to get the data. The alternative would be to get a cron to create the php file itself with the xml data hardcoded ... not sure you'd want to do that though ... You could also reference a file rather than a url ( eg. simplexml_load_file('/data/feed.xml'); ) if you are trying to reduce http requests if thats what you mean ...