帝国cms选取两个表的集合实现按某字段排序


复制代码
代码如下:



    [e:loop={'select title,titleurl,onclick,titlepic from `[!db.pre!]ecms_test` Union All select title,titleurl,onclick,titlepic from `[!db.pre!]ecms_gamepic` order by onclick desc limit 6',6,24,1}]

  • <?=$bqr[title]?>

  • [/e:loop]


你可能感兴趣的:(帝国cms选取两个表的集合实现按某字段排序)