want to join us? register, it's easy | help

browse by tag: exchange rate

sort by

newest, oldest, most popular


category icon

Creating a Simple Currency Converter with Automatic Symbols

in PHP added by goodphptutorials, on 12/11/2007 beginner tutorials currency exchange rate

If you're from the UK then you'll appreciate this preface. If you're not then don't worry because I'll be doing the script from a USD perspective to satisfy the majority! Today we'll be making a currency converter, and as is common on Blue Peter, I'll be throwing bits of code at you like - here's one I made earlier! Basically what we'll be creating is a converter that automatically prepends the currency symbol to the front of the value and then works out the value in the currency that we specify.

comment save report