The files are: ****changerates.php file <? include('rates.php'); ?>
<html> <head> <title>Title here!</title> </head> <body> <? if (isset($save)) { $currency_rates[USD]== $text; } ?> <br> <? print_r($currency_rates[USD])?> <form method="post" action="<?=$php_self?>"> <input type="text" name="text" > <input type="submit" name="save" value="save"> </form> </body> </html> *******rates.php file <?php $currency_rates = array( 'ADF' => '6.5596', 'ADP' => '183.180', 'AED' => '3.6725', 'AFA' => '4750.00', 'ALL' => '143.840', 'BEF' => '44.5192', 'BGL' => '2.1542', 'BHD' => '0.3770', 'COP' => '2254.00', 'CRC' => '320.580', 'CSK' => '38.3547', 'CUP' => '1.0000', 'CVE' => '121.703', 'CYP' => '0.6384', 'DEM' => '2.1585', 'USD' => '0.34', ); ?> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php