PHP Classes

File: example.php

Recommend this page to a friend!
  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: 15 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();
?>