![]() |
帝国cms把文章内容中包含某个词全部替换成另外的词
3 Attachment(s)
第一种方法:替换,这个我想大家都知道吧,若是不知道,接下来我截图一步一步的教给大家:
除了上面的方法,还有一种就是: http://www.0058.net/attachment.php?a...1&d=1443319499 http://www.0058.net/attachment.php?a...1&d=1443319499 http://www.0058.net/attachment.php?a...1&d=1443319499 帝国CMS默认的文章内容存放数据库为:phome_ecms_news_data_1,所以我们要对此数据库进行操作。 UPDATE phome_ecms_news_data_1 SET newstext=REPLACE(newstext,'鸡蛋','柴鸡蛋') |
| All times are GMT +8. The time now is 05:53 AM. |
Powered by vBulletin Version 3.8.7
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.