摘要: "n090","Name"=>"虫族"); //$nation->add($attr); //2.AR方式实现数据添加 //$nation->Code = "n030"; //$nation->Name = "朝鲜族"; //$nation->add(); //$this->redi... 阅读全文
posted @ 2016-12-22 16:14 Strive-count 阅读(361) 评论(0) 推荐(0) 编辑
摘要: select();//查询所有,返回关联数组,也是二维数组。 //$a = $nation->select("n001,n002,n003");//通过主键值查,注意写法。 //$a = $nation->find();//查一条数据,返回一维数组。 //$a = $nation->find("n001");//按照条件查询 ... 阅读全文
posted @ 2016-12-22 11:11 Strive-count 阅读(672) 评论(0) 推荐(0) 编辑