[eluser]RMinor[/eluser]
I changed my controller to look like the following...
Code:
public function edit()
{
$id = $this->input->post('id');
$name = $this->input->post('value');
if ($this->Category_model->edit($id, $name)) {
redirect('admin/categories');
//return $name;
//echo $name;
//return TRUE;
}
return FALSE;
}
However, it still does not work. No redirect happens, but the data does get updated in the database. I also tried it with and without the url helper loaded, but that doesn't change anything. Do you think maybe a setting is set wrong somewhere? I have enabled query strings and also turned off gzip as well. I read in other threads that this was the problem for some, but it doesn't make a difference for me.