GOOGLE
<?php include("includes/connection.php");
$id = $_GET['id'];
if($id!="" && $_GET['status']==1){
$update = mysql_query("UPDATE `news_events` SET `active` =0 WHERE `id`='".$id."'");
?>
<script>
alert("Status Deactiveted!");
window.location.href='manage_news.php';
</Script>
<?php
//header("location:manage_news.php");
}else{
$update = mysql_query("UPDATE `news_events` SET `active` =1 WHERE `id`='".$id."'");
?>
<script>
alert("Status Activates!");
window.location.href='manage_news.php';
</Script>
<?php
}?>
Copyright © 1945 -