Greetings, I have numbers stored in my MySQL database that look like this: 5234552346234 How can I get PHP to display that number as this?: 5,234,552,346,234 Thanks
PHP manual says If only one parameter is given, number will be formatted without decimals, but with a comma (",") between every group of thousands. The following code gives the exact output that peppy is looking for. echo number_format('5234552346234'); PHP: