tp5知识点

//闭包查询
Db::table('think_user')->select(function($query){
     
         $query->where('name','thinkphp')
               ->whereOr('id','>',10)
});

生成的sql语句为:
select * from 'think_useer' where 'name' = 'thinkphp' OR 'id' >10
__STATIC__/admin/img/1.jpg
代表的是文件在public/static/admin/img/1.jpg
<img src="/static/admin/img/2.jpg" style="100%;height:450px" alt="...">
世界上最美的风景,是自己努力的模样
原文地址:https://www.cnblogs.com/xiong-hua/p/11835359.html