init
This commit is contained in:
8
modules/Currencies/getCurrencyValue.php
Normal file
8
modules/Currencies/getCurrencyValue.php
Normal file
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
if (!$_REQUEST['currency_id']) {echo '0'; return;}
|
||||
require_once('modules/Currencies/Currency.php');
|
||||
$c = new Currency();
|
||||
$c->retrieve($_REQUEST['currency_id']);
|
||||
echo format_number($c->conversion_rate,4,4);
|
||||
return;
|
||||
?>
|
||||
Reference in New Issue
Block a user