Location: PHPKode > projects > Run > Run-0.8.0.2/Run-0.8.0.2/delete.php
<html>
<?php
include("system/head.php");
include("system/environment.php");
?>
<body>

<?php
	//assign ID value from the URL to $delete
$delete = $_GET["ID"];
	//if ID is found in the URL execute the query
if ($_GET["ID"]) {
	mysql_query("delete from $mysqlTableRunningLogs where ((RunnerID='$user') and (ID=$delete))", $connect);
	echo "<html>\n<head>\n<meta http-equiv=\"refresh\" content=\"1.5; url=javascript:window.close()\">\n</head>\n</body>\n<p class=\"notice\">The entry has been successfully deleted.</p>\n</body>\n</html>";
} else {
	echo mysql_error();
}
?>

</body>
</html>
Return current item: Run