【发布时间】:2016-08-02 12:14:41
【问题描述】:
我有这个 SQL 列表:
我有兴趣回显列表的总量product_quantity 所以它说301
//total
$this->tbl_inventory('product_quantity');
$data['total_quantity'] = count($this->global_model->get());
【问题讨论】:
-
请不要将代码发布为图片,这些图片无法复制、搜索,并且可访问性较差。相反,复制并粘贴到问题框中,并使用
{}按钮或按 Ctrl+K 将其格式化为代码。