codeigniter 4 delete redirect with data
return redirect()->to('/users')->with('message', 'User deleted successfully');
redirect()
function returns a new RedirectResponse instance to the specified URL.->to('/users')
method specifies the URL to redirect to.->with('message', 'User deleted successfully')
method sets session data for the next request. ```