Problems with money_format or setlocale
I have an value that I grabbed from a database that I want to convert to US money format. On my test server (PHP 4.3.3) I have the following:
$value= money_format('%(.0n', $value);
The output is like this: $180,000
But when I upload the script to the production server (PHP 4.3.8), the output looks like all numbers, no formating: 180000
Does someone have any idea what's going on?
*SOLVED* Problems with money_format or setlocale
That did it, thanks! :tup: