Login   Register  
PHP Classes
elePHPant
Icontem

File: readme.txt

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Shunmuga prasath  >  Simple PHP Currency Exchanger  >  readme.txt  >  Download  
File: readme.txt
Role: Documentation
Content type: text/plain
Description: Readme
Class: Simple PHP Currency Exchanger
Get exchange rates from currencysource.com feeds
Author: By
Last change: Readme
Date: 6 years ago
Size: 411 bytes
 

Contents

Class file image Download
How to use:
<?php
// Create an instance for the class
$exchange = new currencyExchange("INR", 0); // INR is the basic currency code; 0 is the index of U.A.E. Dhiram (AED) in the parsed xml array
$rate = $exchange->getExchangeRate();

?>

For more target currency index check the xml file attached. AED with an index of 0 is the starting element. List ends with South African Rand (ZAR) with index as 47.