如何使用phpcms批量替换网站内容呢,之前我们介绍如何使用帝国cms批量替换内容,也介绍过织梦dede如何批量替换文章
那么phpcms如何批量替换呢
/*文章标题*/
update v9_news set title=replace(title,'错误的关键','替换成新一');
/*文章描述*/
update v9_news set description=replace(description,'错误的关键','替换成新一');
/*文章关键词*/
update v9_news set keywords=replace(keywords,'错误的关键','替换成新一');
/*文章内容*/
update v9_news_data set content=replace(content,'错误的关键','替换成新一');
关于本站 | 网站地图 | 手机版 | XML地图 | 反馈 | 版权申明 皖ICP备13006370号-1