请大神帮忙写个addall() 的用法

浏览:1481 发布日期:2013/05/26 分类:求助交流
   public function insert() {
        $shiqu = I('post.city_shi');
        if ($this->DB->create()) {
            dump($this->DB);
            die();
            if ($this->DB->addAll()) {
                $this->success('提交成功!');
            } else {
                $this->error('提交失败!');
            }
        } else {
            $this->error($this->DB->getError());
        }
    }
不知道这样写可否
$shiqu = I('post.city_shi'); 这是多选表单

最佳答案
评论( 相关
后面还有条评论,点击查看>>