public function Text()
    {
        $nation = D("Nation");
        $sqla = "select * from nation";
        $qa = $nation->query($sqla);//查询是query()方法
        $sqlb = "insert into nation values('n015','维族')";
        $qb = $nation->execute($sqlb);//除了查询以外,都是execute()方法
        
    }

 

相关文章:

  • 2021-07-19
  • 2022-01-29
  • 2021-10-10
  • 2021-10-18
  • 2021-08-01
  • 2021-04-10
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案