File: example.php

Recommend this page to a friend!
  Classes of Suresh Kumar  >  PHP Yahoo Currency Converter  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: example usage
Class: PHP Yahoo Currency Converter
Convert amounts between currencies using Yahoo API
Author: By
Last change:
Date: 6 years ago
Size: 250 bytes


Class file image Download

require_once 'CurrencyConverter.class.php';


$currencyConverter = new CurrencyConverter();

$result = $currencyConverter->convert($currency_from = "USD", $currency_to = "INR", $currency_input = 1000);

'1000 USD = '.$result.' INR';

For more information send a message to info at phpclasses dot org.