GOOGLE
<?php include("header.php");?>
<?php $id = $_GET['id'];
$status = $_GET['status'];
if($status==1)
{
$update = mysql_query("update `newslisting` set `staus`=0 where `id`='".$id."'");
?>
<script>
window.location.href='viewlistingDetails.php?cateId=<?php echo $_GET['cateId']; ?>&&subCate=<?php echo $_GET['subCate'];?>&&name=<?php echo $_GET['name'];?>';
</script>
<?php
}else
{
$update = mysql_query("update `newslisting` set `staus`=1 where `id`='".$id."'");
?>
<script>
window.location.href='viewlistingDetails.php?cateId=<?php echo $_GET['cateId']; ?>&&subCate=<?php echo $_GET['subCate'];?>&&name=<?php echo $_GET['name'];?>';
</script> <?php
}?>
Copyright © 1945 -