i got this error when i try to use money_format :
Fatal error: Call to undefined function: money_format() in /home2/htdocs/money.php on line 18
(i take the code from php.net)
Here's the code :
setlocale(LC_MONETARY, 'en_US');
$number = money_format('%i', $hasil->actcost)."\n";
Estimated cost : $number;
where $hasil->actcost is a query result from database(float type)
And how do change the currency to Rp 1.500 instead of USD ?
Anyone would kindly help me out ?
Tia
Ika