Login   Register  
PHP Classes
elePHPant
Icontem

File: example.php

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  >  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: 7 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();

?>