灵动标签调用多个数据表信息的方法如下:[e:loop={select * from (select id,clasid,titleurl,filename,title,newstime,titlepic from phome_ecms_book where newstime unionselect id,clasid,titleurl,filename,title
$bclasid=$GLOBALS[navclasid]; 取得本栏目id取得本栏目下的子栏目[e:loop={select clasid, clasname, claspath from `[!db.pre!]enewsclas` where bclasid=$bclasid order by `clasid` desc ,7,24,0}][ecmsinfo] $b
修改/e/clas/functions.php文件,找到解析代码function RepExeCode($string)在这之前添加标签替换4function CustomNewsBq($name,$indextext){ global $empire,$dbtbpre,$public_r,$emod_r,$clas_r,$clas_zr,$fu