分页的问题

浏览:341 发布日期:2014/10/12 分类:求助交流 关键字: page Ajax


public function ajaxpost(){
$question=D('question');
$where['q_type']=$_POST['q_type'];
import('ORG.Util.Page');// 导入分页类
$count = $question->where($where)->count();
$Page = new Page($count,3);
$show= $Page->show();
$list = $question->where($where)->order('q_time desc')->select();

$this->ajaxReturn($list);


}
这个要将内容和$show全部Ajaxreturn该怎么写
最佳答案
评论( 相关
后面还有条评论,点击查看>>