About
Pricing
Community
Teams
Start Free Trial
Log in
pda4me
asked on
12/4/2010
PHP echo of a MySQL price variable seperate with commas
I have a PHP echo command that lists as price as part of the results returned. How do I take that number and insert a comma for easier reading: example: 2000000 needs to be 2,000,000.
Here is what is currently in place:
<?php echo($row['SearchPrice']); ?>
Select all
Open in new window
PHP
MySQL Server
2
1
Last Comment
pda4me
8/22/2022 - Mon