| Current Path : /home/bolconlineco/www/admin/ |
| Current File : /home/bolconlineco/www/admin/delete_status.php |
<?php
ob_start();
session_start();
?>
<?php
include('../includes/connection/func.inc.php');
if(isset($_GET['id'])) // Start of if condition
{
$sql = "DELETE FROM status WHERE StatusId = '".$_GET['id']."'";
$result = mysql_query($sql);
header('location: status.php?msg=Update Successfully');
exit();
}
?>