您现在的位置是:首页 > 使用教程使用教程

帝国cms内容页正文字段newstext的PHP写法图片加扩展变量显示

【使用教程】

代码如下:
<?
$artilce_body =stripslashes($navinfor['newstext']);
$newstext=str_replace('/d/',$public_r['add_zhann_cn_img'].'/d/',$artilce_body);
echo $newstext;
?>

Tags: