Forum Moderators: coopster
1 EURO = 30 CZK (czech crowns)
To get this to work we used the following piece of code:
<?php
require("XPath.class.php");
$xp = new XPath();
$xp->importFromFile("http://www.ecb.int/stats/eurofxref/eurofxref-daily.xml");
$EUR_CZK_RATE = $xp->getAttributes("//Cube[@currency='CZK']","rate");
echo($EUR_CZK_RATE);
?>
And XPath.class.php from sourceforge.net/projects/phpxpath/
Now the above code doesn't seem to work anymore and we would love to get it working again.
Is there anybody that could help us out here?
(I am no php guru) :)