I need to query the current exchange rate so that I can display the prices on my site in both £GBP and $US. Does anyone know of a database wher i can query that info or any other methods to do this task?
this doesn't have anything to do with PHP! I have been looking for this kind of information too. You could try the Yahoo pages and extract the information from there in case you think you can do it ...
<?php
$data=file("http://www.xe.com/"); $var = substr($data[238], 63, 70); echo $var;
?>
this seems to do the job ... trouble is it is dependent on the site being static 🙂
that's the beauty of XML ... now wait untill we find a site which supports it.
Originally posted by nightowl that's the beauty of XML ... now wait untill we find a site which supports it.
Hear, here; the Reserve Bank here still thinks Excel worksheets are what everyone needs...