Hi all,
I am trying to output a list of values in a select.
I don't get an error but it doesn't show anything, why is that? Thank you
PHP Code:<form action="ws.php" method="get">
<p>
Convert from:
<?php
require_once 'lib/nusoap.php';
$oClient = new nusoap_client(
'http://www.webservicex.net/CurrencyConvertor.asmx?WSDL',
TRUE // Needs to be TRUE because we are using WSDL
);
$oResponse = $oClient->call(
'Currency',
array(
'FromCurrency' => 'USD',
'ToCurrency' => 'CAD'
)
);
echo $fCurrency;
?>
<select name="FromCurrency">
<option value="<?php print_r($fCurrency);?>"><?php print_r($fCurrency); ?></option>
</select>
</p>
<input type="submit" />
</form>







Bookmarks