Advertisement

数据库操作WHERE AND 语句

阅读量:
复制代码
    _// where语句 AND条件_**public function****table****'user'****'name'****'password'****'name'****'='****'root'****'userid'****' >'**_// where语句 AND条件(闭包)--引入变量进行查询_**public function****'admin'****table****'user'****'name'****'password'****function****use****'userid'****'='****'name'****'='**_// where语句 AND条件(闭包缩写)_**public function****select****function****'user'****'name'****'password'****'userid'****' >'****'password'****'='****'123456'**

原文地址:[https://www.ailaiyun.com/thinkphp5-数据库操作-whereand语句.html](https://www.ailaiyun.com/th

全部评论 (0)

还没有任何评论哟~