public function index() { $model = new Model(); $model->delete($_GET['id']); header("Location: /PHP/"); }