Answer the question
In order to leave comments, you need to log in
From which site can I display the buying / selling rate of the dollar and the euro?
From which site can I display the dollar and euro buying/selling rate, receiving information via api or from xml?
Answer the question
In order to leave comments, you need to log in
From the Central Bank of the Russian Federation. For example:
$xml=file_get_contents('http://www.cbr.ru/scripts/XML_daily.asp');
xml_parse_into_struct(xml_parser_create(), $xml, $result);
echo 'USD: '.$result['140']['value'].'<br>';
echo 'EURO: '.$result['153']['value'].'<br>';
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question