Welcome Guest, Not a member yet? Register   Sign In
codeigniter issues with DB and special characters
#2

Hiya

Looks like this is the part where i need to check first the plain text to avoid storing it as special character


Quote:elseif ($status == 'valid') {
$this->setValidation();
       if ($this->form_validation->run() == true) {
        $data['value'] = $this->input->post('value', true);
   
           $this->config_model->update($id, $data);
           redirect('config/index/success/form');
       }
       else {
           redirect('config/edit/'.$id.'/error');
       }
}
Reply


Messages In This Thread
RE: codeigniter issues with DB and special characters - by PortalNET - 05-08-2018, 03:47 PM



Theme © iAndrew 2016 - Forum software by © MyBB