5
哎HUYS IM计数我的表使用此代码:如何在逗号中输入逗号?
$county = mysql_query("SELECT COUNT(id) from table where type = 'application'");
$county = mysql_result($county, 0);
$applications = ''.$county.'';
这给我造成像1156563.但我希望看到它像1156563用逗号。我怎样才能做到这一点?
谢谢你的回答。这样可行! – 2010-04-20 12:57:15
为什么我得到一个downvote? – 2010-04-20 13:16:13