phpcms v9变动靠山文章排序的要领
发布时间:2021-05-15 21:25:32 所属栏目:教程 来源:网络整理
导读:靠山文章排序怎么才可以按本身输入的数字分列?如按4,3,2,1,从大到小分列? 实现要领如下: 修改文件: phpcmsmodulescontent 中的 content.php $datas = $this-db-listinfo($where,'id desc',$_GET['page']); 改成 $datas = $this-db-listinfo($where
靠山文章排序怎么才可以按本身输入的数字分列?如按4,3,2,1,从大到小分列? 修改文件: phpcmsmodulescontent 中的 content.php $datas = $this->db->listinfo($where,'id desc',$_GET['page']); 改成 $datas = $this->db->listinfo($where,'listorder ASC,id desc',$_GET['page']); (编辑:湖南网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
站长推荐
热点阅读