Purchase a VIP membership today for 10$/year only! Click here to read more!
|
[PHP] Convert currencies using Google and cURL [Snippet]
|
|
11-19-2011, 06:01 PM
Post: #1
|
|||
|
|||
|
[PHP] Convert currencies using Google and cURL [Snippet]
Usage
The currency() function take 3 parameters: from, to, and sum. So if you want to convert 100 USD in Euros, here’s what you should do: Code: (Select All) echo currency("USD","EUR",100);Function: Code: (Select All) function currency($from_Currency,$to_Currency,$amount) { |
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)

Home
Search
Member List
Help
Contact




