千家信息网

帝国CMS多表怎么调用最新信息

发表于:2024-10-11 作者:千家信息网编辑
千家信息网最后更新 2024年10月11日,小编给大家分享一下帝国CMS多表怎么调用最新信息,相信大部分人都还不怎么了解,因此分享这篇文章给大家参考一下,希望大家阅读完这篇文章后大有收获,下面让我们一起去了解一下吧!本文实例讲述了帝国CMS多表
千家信息网最后更新 2024年10月11日帝国CMS多表怎么调用最新信息

小编给大家分享一下帝国CMS多表怎么调用最新信息,相信大部分人都还不怎么了解,因此分享这篇文章给大家参考一下,希望大家阅读完这篇文章后大有收获,下面让我们一起去了解一下吧!

本文实例讲述了帝国CMS多表调用最新信息的方法。分享给大家供大家参考。具体实现方法如下:

代码如下:

[e:loop={'select * from (select id,classid,titleurl,filename,title,newstime,titlepic from phome_ecms_news where newstime unionselect id,classid,titleurl,filename,title,newstime,titlepic from phome_ecms_photo where newstime unionselect id,classid,titleurl,filename,title,newstime,titlepic from phome_ecms_flash where newstime unionselect 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多表怎么调用最新信息的所有内容,感谢各位的阅读!相信大家都有了一定的了解,希望分享的内容对大家有所帮助,如果还想学习更多知识,欢迎关注行业资讯频道!

0