统计记录:select count(*) as total from [!db.pre!]ecms_news union select count(*) as total from [!db.pre!]ecms_movie查询记录:select clasid,id,titleurl,title,newstime from [!db.pre!]ecm
需要先在模型字段里面添加infozm字段。[e:loop={"select * from [!db.pre!]ecms_news where infozm='A'",5,24,0}]a href="=$bqsr['titleurl']" target="_blank"=$bqr['title']/a[/e:loop]注明:infozm 是字母字
本文是介绍的帝国cms内容页SQl方式调用当前TAG标签的方式 具体调用代码如下:$fr=$empirefetch1(select infotags from {$dbtbpre}ecms_news_data_{$navinfor[stb]} where id=$navinfor[id]);$infotags=$fr[infot