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 feeds
Author: By
Last change: Example file
Date: 15 years ago
Size: 229 bytes


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