I am using the money_format() function in PHP, which gives the following error:
money_format()
Fatal error: Call to undefined function money_format()
Instead of money_format() you can also try this. Hope this will be helped any guy who faced this call to undefined function money_format() error.
call to undefined function money_format()
<?php $price = number_format($price, 2); echo "$".$price; ?>
Output:
$120.00