使用Codeigniter

时间:2016-11-24 11:10:32

标签: codeigniter codeigniter-3

enter image description here Codeigniter show following error when we add form data using textarea field. 我正在尝试添加注释以在CI模型中使用以下功能并获取错误请帮助解决此问题。

function add_note($id,$customer_comment){
     $this->db->where('customer_id',$id);
    $this->db->set('customer_comment', " CONCAT(customer_comment,',',' ".$customer_comment."')", FALSE);
    $this->db->update('tbl_customer');
    echo "<script>
        window.location.href='".base_url()."index.php/login_ctrl/add_notes?customer_id=".$id."';
        </script>"; 

}

0 个答案:

没有答案