<?php require_once 'dbutil.php'; $db = new DbUtil(); $db->deleteArticle($_GET['art']); header('Location: ' . $_SERVER['HTTP_REFERER'] . '?deleted');