|
![](static/image/common/ico_lz.png)
楼主 |
发表于 2015-9-24 06:09:06
|
显示全部楼层
Web_Content 这个是内容表
ColumnNo 这个是栏位编号
修改后是不是
function GetContentByColumn($ColumnNo,$CurPage,&$Count)
{
$this->db->where('ColumnNo', $ColumnNo);
$this->db->from('Web_Content ');
$Count=$this->db->count_all_results();
$this->db->limit(($CurPage-1)*10,10);
return $res->result();
}
|
|