### [帝国CMS多表调用最新信息的方法](https://www.prosaas.cn/article/5175) **Published:** 2019-11-26T06:31:14 **Author:** 5201314 **Excerpt:** 本文实例讲述了帝国CMS多表调用最新信息的方法。分享给大家供大家参考。具体实现方法如下:代码如下: 帝国CMS… ![](//zhiqipro.oss-cn-beijing.aliyuncs.com/2023/12/20231212123718599.gif) 本文实例讲述了帝国CMS多表调用最新信息的方法。分享给大家供大家参考。具体实现方法如下: 代码如下: \[e:loop={'select \* from ( select id,classid,titleurl,filename,title,newstime,titlepic from phome\_ecms\_news where newstime union select id,classid,titleurl,filename,title,newstime,titlepic from phome\_ecms\_photo where newstime union select id,classid,titleurl,filename,title,newstime,titlepic from phome\_ecms\_flash where newstime union select id,classid,titleurl,filename,title,newstime,titlepic from phome\_ecms\_article where newstime) a order by newstime desc limit 10',10,24,1}\] \[/e:loop\] 帝国CMS多表调用最新信息,该演示代码为默认数据表下全站最新10条图片信息,自己根据需求可以附加条件,实现全站点击,全站头条,全 站推荐等等.希望本文所述对大家的帝国CMS建站有所帮助。推荐学习《帝国cms教程》 以上就是帝国CMS多表调用最新信息的方法的详细内容,更多请关注知企PROSAAS其它相关文章! **Tags:** cms, 帝国CMS **Categories:** 帝国CMS ---