|
|
|
|
Title: PHP Tutorials: Currency Conversion using Google Calculator API (Part 1/2)
Added: Feb 6, 2012
Author: phpacademy
Duration: 11:55
Description:
Easily convert between currencies with PHP using the Google Calculator API. This tutorial shows you how to create a function to convert between any currency and a form to allow user submission.Official websitehttp://phpacademy.orgSupport Forumhttp://phpacademy.org/forumFollow us on Twitter!http://twitter.com/phpacademy
Related Videos:
Videos related to 'PHP Tutorials: Currency Conversion using Google Calculator API (Part 1/2)'
Channel: Education
Tags: php google currency converter conversion api create gbp to usd aud calculator
php google currency converter conversion api create gbp to usd aud calculator
Youtube Comments: 24
phpacademy Says:
Feb 6, 2012 - You're welcome!
matii2639 Says:
Feb 6, 2012 - Hey alex very nice vid! :D Can you make one using Google Voice API?
bamahacker01 Says:
Feb 6, 2012 - Really good one. Thanks!I know php, so it didn't scare me, but I learned something new which is great.
dunnkers Says:
Feb 6, 2012 - its easy listening to your voice, good tut
terre0jk Says:
Feb 6, 2012 - thank you alex
AarClay Says:
Feb 6, 2012 - it looks like a JSON-string? Why don't you use json_decode() ?
iBoserup Says:
Feb 6, 2012 - WTF? So Google has a calculator API..
ordiantakeover Says:
Feb 6, 2012 - Isn't it better to use json_decode?
BGxApixen Says:
Feb 6, 2012 - Are you ever going to get into Classes and Objects?
phpacademy Says:
Feb 6, 2012 - Performance. For a larger data set, I would.
phpacademy Says:
Feb 6, 2012 - See my reply to comment below.
phpacademy Says:
Feb 6, 2012 - Yes, as soon as I get time to get some really good content together.
Wiejeben Says:
Feb 6, 2012 - Thanks a lot for the lesson!
RemysWebpageMaker Says:
Feb 6, 2012 - wait in the description did you purposely say Google Calender API or did you mean calculator?
koenigsegg1000 Says:
Feb 6, 2012 - yes, type your math problem in google search box, gives you an answer(ex: type "2+2"...gives "4").
PaT07M Says:
Feb 6, 2012 - Great video.I haven't known this way of getting information.
phpacademy Says:
Feb 7, 2012 - Oops, I meant calculator.
aslamdoctor11 Says:
Feb 9, 2012 - Nice video, Thanks for sharing. One thing I noticed you should correct in this video descriptions. You have written "Google Calendar API" which is actually Calculator API :)
MikeGittins Says:
Feb 10, 2012 - @phpacademy Have you tried using large numbers. echo number_format((float) $conversion[0], 2) . ' = ' . number_format((float) $conversion[1], 2); displays ... 4,535.00 GBP = 5.00 EURand echo $conversion[0] . ' = ' . $conversion[1];displays...4535 British pounds GBP = 5�401.57794 Euros EURWhere Google API returns a space it is replaced by �
sputtnikk11 Says:
Feb 11, 2012 - THANK YOU ALEX for listening to me! I sent you a request for API usage: and you gave me it! Thanks a million! <3 :D
MikeGittins Says:
Feb 12, 2012 - adding $result = str_replace("\xA0", " ", $result); following the file_get_contents line will remove the non breaking character that Google API returns with large numbers












SentaHosting Says:
Feb 6, 2012 - Brilliant, thanks Alex!