Posted By

connordothu on 12/07/09


Tagged

php soap


Versions (?)

currency in php


 / Published in: PHP
 

  1. <?php
  2.  
  3. $parameters['parameters']['FromCurrency'] = 'EUR';
  4. $parameters['parameters']['ToCurrency'] = 'HUF';
  5.  
  6. $soapclient = new SoapClient('http://www.webservicex.net/CurrencyConvertor.asmx?WSDL');
  7. $result = $soapclient->__soapCall('ConversionRate', $parameters);
  8.  
  9. var_dump($result->ConversionRateResult);
  10.  
  11. ?>

Report this snippet  

You need to login to post a comment.