Re: function that appends dollar symbol

From: Date: Sun, 23 Nov 2003 04:35:29 +0000
Subject: Re: function that appends dollar symbol
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-170703@lists.php.net to get a copy of this message
Joffrey Leevy wrote:
Hi all: The money_format function does not do it for me. Is there a simple php function which appends the '$' symbol to a string value. Example $money = 30 $money = some_php_function($money) echo $money //should show $30 thanks
How 'bout... $money = '$' . 30; -- By-Tor.com It's all about the Rush http://www.by-tor.com

« previous php.general (#170703) next »