Hi
I\'m a complete beginer at this so please excuse me if i\'m asking something stupid. I\'m doing a simple calculator and one of the list\'s on the initial form is as follows;
<select name=\"currency\" size=\"1\">
<option value=\"1.4\">US Dollars</option>
<option value=\"1\">UK Pounds</option>
<option value=\"10.38\">French Franks</option>
<option value=\"1.49\">EU Euros</option>
<option value=\"3.1\">German Marks</option>
<option value=\"69.34\">Indian Rupees</option>
<option value=\"3063\">Italian Lira</option>
</select>
I\'m using this for a basic currency conversion as part of the calculations the calculator makes. Is there a way of using the numbers in my calculations (this all works ok) but echoing the field text onto my results page. As an example if I echo
<?php echo $currency?> and the selected option was dollar I get 1.6 displayed whereas I just want this for the calculation and want to actually display dollar.
I\'ve gone on a bit here but if anyone understands what I mean and can help it would be appreciated.
Kind regards
Roland