最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
通过DEDECMS后台在文章字符后面自动插入关键词
时间:2022-06-25 16:36:51 编辑:袖梨 来源:一聚教程网
比如在DEDECMS的第100个字符后面自动插入关键词,代码如下
代码如下 | 复制代码 |
update addonarticle set body = concat(substring(body,1,100),(select keywords from archives where archives.id=addonarticle.aid),substring(body,101)) where aid=297 |