分享好友 资讯首页 资讯分类 切换频道

帝国CMS多表调用最新信息的方法

2025-07-06 22:2500admin001

本文实例讲述了帝国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]
举报
收藏 0
打赏 0
评论 0
phpcms siteid是什么

0评论2025-07-0794

phpcms如何生成静态

0评论2025-07-0794

phpcms如何上传视频

0评论2025-07-0790

phpcms v9通信失败怎么办

0评论2025-07-0790