Skip to main content

Currrency Converter in PHP

Language


A currency converter that converts Philippine Peso into different currency. The values of each currency would change depending upon the current market value. Php $currency is equivalent to $a ARS in Argentina"; break; case "Bahamian Dollar": $b=($currency*$BSD); echo "

Php $currency is equivalent to $b BSD in Bahama

"; break; case "Brazilian Real": $c=($currency*$BRL); echo "

Php $currency is equivalent to $c BRL in Brazil

"; break; case "Canadian Dollar": $d=($currency*$CAD); echo "

Php $currency is equivalent to $d CAD in Canada

"; break; case "Colombian Peso": $e=($currency*$COP); echo "

Php $currency is equivalent to $e COP in Colombia

"; } //REFERENCE: http://www.exchange-rates.org/currentRates/PHP ?>

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:

1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

Comments

Submitted byAnonymous (not verified)on Tue, 09/21/2010 - 22:27

thanks..

Add new comment

CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.