Return to Snippet

Revision: 21208
at December 7, 2009 03:08 by connordothu


Initial Code
<?php

$parameters['parameters']['FromCurrency'] = 'EUR';
$parameters['parameters']['ToCurrency'] = 'HUF';

$soapclient = new SoapClient('http://www.webservicex.net/CurrencyConvertor.asmx?WSDL');
$result     = $soapclient->__soapCall('ConversionRate', $parameters);

var_dump($result->ConversionRateResult);

?>

Initial URL

                                

Initial Description

                                

Initial Title
currency in php

Initial Tags
php

Initial Language
PHP