How can I add commas to numbers in PHP
<p>I would like to know how can I add comma's to numbers. To make my question simple.</p>

<p>I would like to change this:</p>

<pre><code>1210 views
</code></pre>

<p>To:</p>

<pre><code>1,210 views
</code></pre>

<p>and :</p>

<pre><code>14301
</code></pre>

<p>to</p>

<pre><code>14,301
</code></pre>

<p>and so on for larger numbers. Is it possible with a php function?</p>
