摘要:
//新增 public function add() { $user = new user(); $user->uid = 7; $user->uname = '六元'; $user->email = '111qq.com'; $user->birthday = strtotime('1989-7-11'); if ($user->save()) { User::get(1); echo User 阅读全文
posted @ 2019-09-05 13:21
一半人生
阅读(169)
评论(0)
推荐(0)
摘要:
//插入数据 $res = Db::execute('insert into phptab(info) values("小张")'); dump($res); //修改数据 $res = Db::execute('update phptab set info="你好tp" where id=1'); //删除数据 $res = Db::execute('delete from phptab whe 阅读全文
posted @ 2019-09-05 13:15
一半人生
阅读(453)
评论(0)
推荐(0)

浙公网安备 33010602011771号