[FX.php List] Currency Formatting
Jonathan Schwartz
jonathan at eschwartz.com
Tue Jul 18 09:32:27 MDT 2006
Can't quite figure out where to insert the money_format() function.
Any suggestions?
<? setlocale(LC_MONETARY, 'en_US');
?>
<?php echo $findData['TotalCost'][0] ;
?>
Here is what I tried:
<?php echo money_format(i%, $findData['TotalCost'][0] ) ;
?>
<?php echo $findData[money_format(i%, 'TotalCost') ][0] ;
?>
Thanks
J
--
Jonathan Schwartz
Schwartz & Company
817 Marin Drive
Mill Valley, CA 94941
Phone: 415-381-1852
jonathan at eschwartz.com - http://www.eschwartz.com
More information about the FX.php_List
mailing list