比如在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
比如在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
非特殊说明,本博所有文章均为博主原创。
如若转载,请注明出处:https://www.heyihu.com/website/1690.html