PHP Classes

File: deletepost.php

Recommend this page to a friend!
  Classes of Ahmed Khan   PHP Article System for Posts   deletepost.php   Download  
File: deletepost.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Article System for Posts
Create and manage posts stored in a database
Author: By
Last change:
Date: 2 years ago
Size: 234 bytes
 

Contents

Class file image Download
<?php
//It autoloads the class
include 'postclass.php';

$ids = $_GET['postid'];

$del = new Post();

$result = $del->deletearticle($ids);

if(
$result === true)
{
    echo
"Post Is Deleted Successfully";
}
else
{
    echo
$result;
}




?>