条件查询方法 where 方法 可以使用 where 方法进行 AND 条件查询: Db::table ( think_user ) - where ( name , like , %thinkphp ) - where ( status , 1 ) - find(); 多字段相同条件的 AND 查询可以简化为如下方式:
请求类型伪装 支持请求类型伪装,可以在 POST 表单里面提交 _method 变量,传入需要伪装的请求类型,例如: form method= post action= input type= text name= name value= Hello input type= hidden name= _meth