[eluser]kolxoznik1[/eluser]
I have made in my controller :
Code:
function delete_user($user_id)
{
$this->activity_model->delete_user($ban_id);
redirect('user_list');
}
when I click "delete" it delete and redirect to 1 page. It is simple.
Is it possible to redirect back to page, where was item deleted if there is no more itemas on this page and it not exist any more return to previous page ?
If you have done this please give an idea ... everything making this will be good !