Bu şekilde mi yani
if($update){
$this->session->set_userdata([
$this->session->set_userdata("kullanici_adisoyadi", $this->input->post("full_name"));
$this->session->set_userdata("kullanici_telefon", $this->input->post("phone"));
$this->session->set_userdata("kullanici_eposta", $this->input->post("email"));
$this->session->set_userdata("kullanici_tc", $this->input->post("identity_number"));
$this->session->set_userdata("kullanici_vergi_no", $this->input->post("tax_number"));
$this->session->set_userdata("kullanici_telefon", $this->input->post("phone2"));
$this->session->set_userdata("kullanici_sehir", $this->input->post("user_city"));
$this->session->set_userdata("kullanici_adres", $this->input->post("address"));
]);
redirect(base_url("profilim"));
"set_userdata" methoduna dizi göndereceksiniz. Tekrardan dizi içinde set userdata kullanmanıza gerek yok.
https://codeigniter.com/user_guide/l...g-session-data if($update){
$this->session->set_userdata([
"kullanici_adisoyadi", $this->input->post("full_name"),
"kullanici_telefon", $this->input->post("phone"),
"kullanici_eposta", $this->input->post("email"),
"kullanici_tc", $this->input->post("identity_number"),
"kullanici_vergi_no", $this->input->post("tax_number"),
"kullanici_telefon", $this->input->post("phone2"),
"kullanici_sehir", $this->input->post("user_city"),
"kullanici_adres", $this->input->post("address")
]);
redirect(base_url("profilim"));