怎么得到 thinkphp 查詢結果的返回條數
1 回答

慕的地6264312
TA貢獻1817條經驗 獲得超6個贊
1 | $userCount = $User -> count (); |
如果有查詢條件的話
1 | $userCount = $User ->where( $where )-> count (); |
- 1 回答
- 0 關注
- 727 瀏覽
添加回答
舉報
0/150
提交
取消