How to put comma in counted numbers?
        Posted  
        
            by Ronnie Chester Lynwood
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Ronnie Chester Lynwood
        
        
        
        Published on 2010-04-20T12:53:38Z
        Indexed on 
            2010/04/20
            13:03 UTC
        
        
        Read the original article
        Hit count: 234
        
hey huys im counting my table with this code:
$county = mysql_query("SELECT COUNT(id) from table where type = 'application'");
$county = mysql_result($county, 0);
$applications = ''.$county.'';
this give me result like 1156563. but I want to see it like 1,156,563 with commas. how can i do this?
© Stack Overflow or respective owner