Results 1 to 7 of 7

Thread: money_format gives error

Threaded View

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2005
    Location
    Cebu
    Posts
    607

    Resolved money_format gives error

    Having a code like
    PHP Code:
    <?php

        $a 
    1232322210.44;

        
    setlocale (LC_MONETARY'en_US');

        echo 
    money_format ("%n"$a);
        echo 
    "\n";
        echo 
    money_format ("%i"$a);
        echo 
    "\n";

    ?>
    gives an error like Fatal error: Call to undefined function money_format() in C:\Program Files\Apache Group\Apache2\htdocs\test\test.php on line 7. Am I missing something?
    Last edited by nebulom; Jul 25th, 2005 at 01:05 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width