# PHP: Formating numeric strings

**URL:** <https://forum.kirupa.com/t/php-formating-numeric-strings/141325>\
**Category:** Uncategorized\
**Created:** [March 18, 2005, 9:38pm UTC](https://forum.kirupa.com/t/php-formating-numeric-strings/141325 "2005-03-18T21:38:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thinker2501](https://avatars.discourse-cdn.com/v4/letter/t/e0b2c6/32.png) [@Thinker2501](https://forum.kirupa.com/u/Thinker2501)\
**Post date:** [March 18, 2005, 9:38pm UTC](https://forum.kirupa.com/t/php-formating-numeric-strings/141325/1 "2005-03-18T21:38:56Z")

</div>

Im pulling data from an SQL table, and have an integer column that contains numbers over 1,000. But in the integer collumn you only have the numeric value 1000, not with a comma (1,000). How can I have php input the comma’s automatically when the value is echo’ed to HTML? :h:
