Therefore, as a result, so, then, consequently She was therefore unable to find a solution. So she had to quit her job. I think; therefore I am. ‘We h ...
分类:
其他好文 时间:
2020-05-23 20:19:07
阅读次数:
83
1.手册样例thinkphp 5.0Db::table('think_user') ->where('name',['like','thinkphp%'],['like','%thinkphp']) ->where(function($query){ $query->where('id',['<', ...
分类:
Web程序 时间:
2020-05-22 19:42:25
阅读次数:
80
1 package test_19_2; 2 3 import java.util.HashMap; 4 import java.util.Iterator; 5 import java.util.Map; 6 7 public class MapTest { 8 9 public static v ...
分类:
编程语言 时间:
2020-05-22 17:18:18
阅读次数:
47
ThinKPHP6.0 上手 安装 ThinkPHP6.0 cd 切换到项目目录,然后执行如下 准备安装框架:composer create project topthink/think thinkPHP6.0 cd 切换到PHP项目 thinkPHP6.0 目录中 修改配置文件:.env 配置文件 ...
分类:
Web程序 时间:
2020-05-22 15:37:08
阅读次数:
72
路由简介 什么是路由? 将用户的请求按照事先规划的方案提交给指定的 控制器 和 方法来进行处理。 Thinkphp框架提供了两种路由规则 ? pathinfo模式 ? 自定义路由规则【推荐】 进而可以让URL更规范以及优雅,提高网站的安全和网站URL访问的友好度。 Route类注册使用think\f ...
分类:
Web程序 时间:
2020-05-21 17:44:17
阅读次数:
69
1 package test_16_2; 2 3 public class Outter { 4 5 public Outter() { 6 7 } 8 9 public Outter(int i) { 10 11 this.i = i; 12 } 13 14 private int i = 1; ...
分类:
编程语言 时间:
2020-05-19 01:04:41
阅读次数:
56
手册地址 "https://www.kancloud.cn/manual/thinkphp5/118011" 图例简介 ...
分类:
Web程序 时间:
2020-05-18 16:07:36
阅读次数:
52
In this lesson, we move the component definition to a function, defined in a script tag in the HTML document. We then iterate through an Array of Obje ...
分类:
Web程序 时间:
2020-05-14 19:33:21
阅读次数:
82
// 查询用户昵称是think的用户 // 注意第一个参数是关联方法名(不是关联模型名) $users = User::hasWhere('profile', ['nickname'=>'think'])->select(); // 可以使用闭包查询 $users = User::hasWhere(... ...
分类:
其他好文 时间:
2020-05-13 18:35:40
阅读次数:
438
namespace app\index\validate; use think\Validate; class User extends Validate { protected $rule = [ 'name' => 'require|max:25', 'email' => 'email', ]; ...
分类:
其他好文 时间:
2020-05-13 12:17:41
阅读次数:
81