<?php
include("../URLs.php");
include("AuthenticateUser.php");
include("../Db.php");
include("MyAccount.php");
include("Sanitize.php");
$MessageID = Sanitize::clean($_GET['id']);
mysql_query("DELETE FROM Messages WHERE id='$MessageID'");
header("Location: " . MYACCOUNT);
exit();
?>