RE: [PHP] string question
| From: | PHPBeginner.com | Date: | Sat, 24 Feb 2001 06:16:47 +0000 |
| Subject: | RE: [PHP] string question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-41460@lists.php.net to get a copy of this message | ||
check out php.net/number-format
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
maxim@phpbeginner.com
www.phpbeginner.com
-----Original Message-----
From: MinorThreatBmxxx@aol.com [mailto:MinorThreatBmxxx@aol.com]
Sent: Saturday, February 24, 2001 4:53 AM
To: php-general@lists.php.net
Subject: [PHP] string question
I have a string that contains a number such as: $string = '12345'
I want that to read 12,345 though. Is there any way in which I can insert a
comma in there in the correct places?
-Matt