Location: PHPKode > projects > Classifieds > classifieds/classes/MessageDelete.php
<?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();

    

?>
Return current item: Classifieds