TalkPHP

TalkPHP (http://www.talkphp.com/forums.php)
-   General (http://www.talkphp.com/general/)
-   -   Is it me or does "money_format" not work? (http://www.talkphp.com/general/1624-me-does-money_format-not-work.html)

Nor 12-05-2007 04:09 PM

Is it me or does "money_format" not work?
 
I tried using money_format on my home server and said function doesn't exist( using the latest version of xampp windows version )

Tanax 12-05-2007 04:31 PM

You should seriously check out WAMP, which is a far more better webserver than xampp! Check it out, and see if it works on WAMP ;)

bdm 12-05-2007 04:35 PM

Why not simply install Apache, PHP, and MySQL?

Nor 12-05-2007 04:36 PM

cuz xampps quick and easy ;)...(wamp aint secure -.-...atleast for my phpmyadmin I gotta close access 2 it some how). then i turned my server offline from the public -.-..

Wildhoney 12-05-2007 05:05 PM

I have no idea why it says that, and Google doesn't yield any relevant results, either. Are you sure you typed the function correctly in your code?

WinSrev 12-05-2007 05:07 PM

Note: The function money_format() is only defined if the system has strfmon capabilities. For example, Windows does not, so money_format() is undefined in Windows.

There's your problem,

Salathe 12-05-2007 05:26 PM

Quote:

Originally Posted by http://php.net/money_format
Note: The function money_format() is only defined if the system has strfmon capabilities. For example, Windows does not, so money_format() is undefined in Windows.

Edit: Oops, WinSrev beat me to it but the point is worth repeating. :-)

Wildhoney 12-05-2007 05:31 PM

Hmmm. I thought I'd used it in Windows Vista before - obviously not!

Nor 12-05-2007 06:00 PM

ah no wonder heh...that sucks :).


All times are GMT. The time now is 02:01 PM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0