Re: [PHP] function that appends dollar symbol

2003-11-22 Thread Ryan A
/* Hmmm, that's prepending... how about: $money = 30.'$'; or if he wants it at the beginning: $money = strrev( strrev( '30' ).'$' ); *heheh* Rob. */ Pretty damn good and didnt require the installation of Interjinn either!!! Hehehe Peace. -Ryan -- PHP General Mailing List (http://www.php.n

Re: [PHP] function that appends dollar symbol

2003-11-22 Thread Robert Cummings
On Sat, 2003-11-22 at 23:35, John Nichel wrote: > 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) >

Re: [PHP] function that appends dollar symbol

2003-11-22 Thread John Nichel
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.co

[PHP] function that appends dollar symbol

2003-11-22 Thread Joffrey Leevy
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 __ Do you Yahoo!? Free Pop-Up