一、include/extend.func.phpphp
二、[field:id function="Mytest(@me)" /] // 前台调用,id为数据库字段,@me = id (数据库字段)sql
注:使用dede自带数据库类时须要声明全局变量 global $dsql //不添加global 后台没法更新栏目HTML数据库