2015-03-31 23 views
-2

我有一個計算公司數量的代碼。我想補充的字的公司或企業,如果數大於>數字大於2的複數字PHP

0公司
1公司
2公司
....等等

我使用的代碼如下:

echo $activeCompanies = Model_Company::search(array("count_only"=>true)); 
+1

可能重複的[函數在單數和複數之間切換?](http://stackoverflow.com/questions/4728933/function-switching-between-singular-複數) – Marc 2015-03-31 11:55:53

回答