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 Er. Rochak Chauhan  >  Google Currency Converter  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example Script
Class: Google Currency Converter
Convert currency amounts using Google searches
Author: By
Last change:
Date: 5 years ago
Size: 253 bytes
 

Contents

Class file image Download
<?php
require_once("GoogleCurrencyConvertor.inc.php");
$googleCurrencyConvertor = new GoogleCurrencyConvertor("1","USD","INR");
echo 
"Rate: ".$googleCurrencyConvertor->getRate();
echo 
"<br />Reverse Rate: ".$googleCurrencyConvertor->getReverseRate();
?>