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
Use number_format(). Example: <?php $num = "9001"; echo number_format($num); // displays: 9,001 ?> PHP: The fourth parameter specifies the separator. The default, of course, is a comma.