Jump to content

currency on the website


homer.favenir

Recommended Posts

hi,

how can i make a autoupdate currency table

 

currency                  value      CHF                          USD                          EURO

KD (Kuwaiti Dinars) 1 Converted Value Converted Value Converted Value

 

when the page loads, it will convert the currency and the value of CHF, USD and EURO are real time

 

please kindly help

 

tia

 

Link to comment
https://forums.phpfreaks.com/topic/212663-currency-on-the-website/
Share on other sites

I wouldn't store the converted values like that. If you have a row for each single value for each currency, you're going to have a lot of data to enter/upkeep. What you should do is create a row for each currency, with an associated conversion rate that you're able to use within a formula to work out the value.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.