帝国cmsPHP查询栏目关键字/简介并且输出显示

查询栏目关键词并且输出

<?php $cr=$empire->fetch1("select classpagekey from phome_enewsclass where classid='".$GLOBALS[navclassid]."' limit 1"); 
echo $cr['classpagekey']; 
?>

或者:

<?php $cr=$empire->fetch1("select classpagekey from phome_enewsclass where classid='".$GLOBALS[navclassid]."' limit 1"); 
?>
<?=$cr['classpagekey']?>

 

查询栏目简介并且输出:

<?php $cr=$empire->fetch1("select intro from phome_enewsclass where classid='".$GLOBALS[navclassid]."' limit 1"); 
echo $cr['intro']; 
?>

图片[1]-帝国cmsPHP查询栏目关键字/简介并且输出显示-HostJL-VPS主机交流

© 版权声明
THE END
喜欢就支持一下吧
点赞5 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情代码图片

    暂无评论内容