where 可以直接用字符串形式,比如: $where = "name = '张三'"; 或者 用数组的形式 $where = array(); $where['name'] = '张三'; $where['age'] = '18'; $comments = sp_get_comments($tag,$where)