摘要:
mysql 去掉某字符前的文字 UPDATE `dede_archives` set title =right(title, INSTR(title, ':') - 2) where title like '%:%' 注释: 1、dede_archives为表名 2、title为需要修改的字段名 3 阅读全文
摘要:
dedecms在首页调用栏目(公司介绍)内容,一般通过代码: {dede:sql sql='Select content,substring(content,1,300) as content from dede_arctype where id=1'}[field:content function 阅读全文