ytkah

经常会忘记mysql中升序和降序用什么字符来表示,现在就做个笔记:升序排列asc,降序排列desc,举个例子,下面是按时间降序调用栏目的文章,也即是栏目最新文章

[e:loop={"select classid, classname, classpath from `[!db.pre!]enewsclass` where classid=275   order by classid desc limit 9 ",100,24,0}]
<ul><li><a href="<?=sys_ReturnBqTitleLink($r)?>" title="<?=$r[title]?>"><?=$r[title]?></a></li></ul>
[/e:loop]

记记更健康

分类:

技术点:

相关文章:

  • 2021-12-19
  • 2021-08-16
  • 2021-09-21
  • 2021-11-02
  • 2021-08-28
  • 2021-11-06
  • 2021-08-08
  • 2021-04-19
猜你喜欢
  • 2021-10-18
  • 2021-12-19
  • 2021-09-21
  • 2021-09-21
  • 2021-12-19
  • 2021-12-09
相关资源
相似解决方案