Location: PHPKode > projects > Craigslist Classfieds PHP Clone Script > classifieds/classes/PostingDelete.php
<?php	

    include("../URLs.php");

    include("AuthenticateUser.php");

    include("../Db.php");    

    include("MyAccount.php");

    include("Sanitize.php");

    

    $postID = Sanitize::clean($_GET['id']);

    

    mysql_query("DELETE FROM Postings WHERE id='$postID'");

    

    header("Location: ../myaccount.php");

    exit();

    

?>
Return current item: Craigslist Classfieds PHP Clone Script