PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Shunmuga prasath   Simple PHP Currency Exchanger   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example file
Class: Simple PHP Currency Exchanger
Get exchange rates from currencysource.com feeds
Author: By
Last change: Example file
Date: 16 years ago
Size: 229 bytes
 

Contents

Class file image Download
<?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();

?>