[eluser]Michael Wales[/eluser]
This merely sounds like a browsing caching issue.
If I have a series of records, each with a checkbox, I click on all the little checkboxes, hit a delete button. That form self-submits to the same controller/method that displayed the list of results, runs some validation processes, sends the delete action to the model, then redirects to the controller/method again (to display the list of results), that new view should only show what exists in the database at that time.
Code:
function view() {
$this->load->library('form_validation');
if ($this->form_validation->run()) {
// Make a call to the model's delete action for each of the selected checkboxes
redirect('controller/view');
return;
}
// Make a call to the model to retrieve all records - place in $data var
$this->load->view('records/edit', $data);
}
Maybe a more detailed explanation of exactly what is wrong is in order...