错误内容:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 1 at line 1解决方法:到参数设置那,把支持sql查询方式去掉
[e:loop={"select * from phome_enewszt where clasid='$GLOBALS[navclasid]'",10,24,0}]a href="/=$bqr[ztpath]" target="_blank"=$bqr[ztname]/a[/e:loop]调用本栏目所属专题
帝国CMS不同会员组查看文章权限判断在静态页面的实现方法require(clas/connect.php);include(clas/db_sql.php);include(clas/config/config.php);include(data/dbcache/clas.php);$link=db_connect();$empire=new my
以下代码适合放到封面模板,列表模板和内容页模板$clas_sql=$empirefetch1('select clasid,clasname,bname from '.$dbtbpre.'enewsclas where clasid='.$GLOBALS[navclasid].'');$bname=$clas_sql[bname];