isnt that what I have done here?
<?php
if (isset($_POST["Delete"]) || isset($_POST["Delete_x"])) {
$DeleteQuery = new WA_MySQLi_Query($DBConnection);
$DeleteQuery->Action = "delete";
$DeleteQuery->Table = "content_history";
$DeleteQuery->addFilter("HistoryID", "=", "i", "".($_GET['HistoryID']) ."");
$DeleteQuery->execute();
$DeleteGoTo = "";
if (function_exists("rel2abs")) $DeleteGoTo = $DeleteGoTo?rel2abs($DeleteGoTo,dirname(__FILE__)):"";
$DeleteQuery->redirect($DeleteGoTo);
}
?>