Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Currency Conversion using PHP

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #27373
    boss
    Member

    I am working on a shopping cart website project, which is still in development phase.
    I want to display the rates of the products in INR(Indian Rupees) and USD(US Dollars).
    Can someone help me with a php code for doing the live currency conversion.
    I want to know how can I collect the live currency values in a php variable to do the conversion.

    For example: If I go to the link http://www.xe.com/ucc/convert.cgi?From= … R&Amount=1
    Here I can get the live rate for US dollars to INR conversion. As It is shown in the picture below.
    [attachment=0]a.JPG[/attachment]

    In the picture it is also shown that 1 INR = 0.0214083 USD (This is the live current value).
    Is there any way I can collect the live current value of the currency in a variable?
    Please help me in resolving this issue, or please point me to the right direction.

Viewing 1 post (of 1 total)
  • The forum ‘Back End’ is closed to new topics and replies.