PHP: Formating numeric strings

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: