阅读背景:

消息:在codeigniter中,类stdClass的对象不能转换为string

来源:互联网 

When I run the code below

当我运行下面的代码时

  $data = array(
                'name' => $this->input->post('name'),
                'recipe' => $this->input->post('recipe'),
                'category_id' => $category_id,
                'recipe_elements' => $this->input->post('recipe_elements'),
                'country' => $this->input->post('country'),
                'video' => $this->input->post('video'),
                'img' => $img_name,
                'vote' => $this->input->post('oy')
            );

            $this->db->insert('recipes',$data);
  $da



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: