初学者求教,这个如何倒序排序

WBOY
Release: 2016-06-13 11:54:39
Original
841 people have browsed it

菜鸟求教,这个怎么倒序排序

<ul class="article_list"><br />								{foreach from=$list item=item}<br />								<li><a href="{$item.url}" title="{$item.title}" style="float:left;">{function name="msubstr" v=$item.title b=0 e=30}</a> <span style="float:right;">{function name="to_date" v=$item.update_time}</span></li><br />								{/foreach}<br />							</ul><br />
Copy after login


以上这个代码怎么写倒序排序,多谢啦
------解决方案--------------------
你这个是不是在htm模板文件你找一下对应的php后缀的再里面加上order  by   XX   desc就可以了

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template