By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,983 Members | 1,717 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,983 IT Pros & Developers. It's quick & easy.

Call to undefined function money_format() in

P: 1
plese guide me i m new in php .
give me sutable example. my code is below


$value=money_format('%(#10n',$value) ;
Dec 6 '07 #1
Share this Question
Share on Google+
2 Replies


MarkoKlacar
Expert 100+
P: 296
Hi,

have you read the description of the money_format function?
Dec 6 '07 #2

P: 1
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. Some Linux systems also lack this capability.

The easiest way to fix the error is to add a money_format() function to your php code, and someone has already done the hard work of writing the function for you here: http://se.php.net/manual/en/function...rmat.php#89060
Oct 25 '11 #3

Post your reply

Sign in to post your reply or Sign up for a free account.