phpcms v9更改后台文章排序的方法
发布时间:2021-05-16 06:17:31 所属栏目:教程 来源:网络整理
导读:后台文章排序怎么才可以按自己输入的数字排列?如按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']); (编辑:ASP站长) 【免责声明】本站内容转载自互联网,其相关言论仅代表作者个人观点绝非权威,不代表本站立场。如您发现内容存在版权问题,请提交相关链接至邮箱:bqsm@foxmail.com,我们将及时予以处理。 |
相关内容
未处理完善
-
无相关信息
最新更新