新增数据有多种方式。 ## 添加一条数据 第一种是实例化模型对象后赋值并保存: ~~~ $user = new User; $user->name = 'thinkphp'; $user->email = 'thinkphp@qq.com'; $user->sav

评论区

登录 后参与评论
× Preview