Telling us something about the error message would have taken you just a few more key strokes, or even just one copy/paste.
I'm guessing that it says the function is undefined and that you're on a Windows machine. Going to the manual, you would have found that, sure enough, "...money_format() is undefined in Windows." Then from there you could have followed the "See also" link to number_format() and perhaps have come up with mrphllps solution all on your own.