DEVILofDARKNESS Posted March 24, 2009 Share Posted March 24, 2009 I think this is the right place to post it but I'm not sure. I want to show the player his money (which is saved in a databse in euros) and show this value. But I want that under that value also the value in USD and ENG pound is shown. these values should be auto created with the most recent exchange rate. Is it possible that this all is done automatic or should I always save the current exchange rate somewhere? Quote Link to comment Share on other sites More sharing options...
JonnoTheDev Posted March 24, 2009 Share Posted March 24, 2009 You should store the exchange rate and possibly check for an update i.e. once a day PHP: http://pear.php.net/package/Services_ExchangeRates Quote Link to comment Share on other sites More sharing options...
Psycho Posted March 24, 2009 Share Posted March 24, 2009 In any case, this should be handled server-side, not in Javascript. Wrong forum. Quote Link to comment Share on other sites More sharing options...
DEVILofDARKNESS Posted March 24, 2009 Author Share Posted March 24, 2009 Does anybody know a site wich gives the current exchanges? There must be at least one, I will use know the update-it-every-day-system but I keep searshing after a site wich just gives it through Javascript, or something else. Quote Link to comment Share on other sites More sharing options...
corbin Posted March 24, 2009 Share Posted March 24, 2009 Hrmmmm... I've no idea of a site, but you could do it kind of ghetto. You could use the Google search API to search conversion rates. Kind of ghetto, and it might violate google's ToS though. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.