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]

记记更健康

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2021-04-23
  • 2022-02-15
  • 2022-12-23
  • 2021-12-24
  • 2021-12-02
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-10-26
  • 2021-07-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案