帝国cms模板内容页SQl调用当前TAG标签方法教程

腾轩网 腾轩网 509 其它教程


教程介绍

帝国cms内容页SQl方式调用当前TAG标签的方式 具体调用代码如下:

fetch1("select infotags from {$dbtbpre}ecms_news_data_{$navinfor[stb]} where id='$navinfor[id]'");
$infotags=$fr['infotags'];//这个就是infotags字段内容
$tag='';
$t=explode(',',$infotags);//去逗号
$d=count($t);
        for($i=0;$i".$t[$i]." ";
                }
}
echo $tag;
?>

以上本篇文章的全部内容了,感兴趣的小伙伴可以看看,更多精彩内容关注腾轩网www.tengxuanw.com