aku nok ndi : /home/astwardha/public_html/admin/ |
aku nok ndi : /home/astwardha/public_html/admin/about_status.php |
<?php include("header.php");?> <?php $id = $_GET['id']; $status = $_GET['status']; if($id && $status!="" && $status==1) { $update = mysql_query("update `about` set `status`=0 where `id`='".$id."'"); ?> <script> window.location.href='manage_about.php';</script> <?php }else { $update = mysql_query("update `about` set `status`=1 where `id`='".$id."'"); ?> <script> window.location.href='manage_about.php';</script> <?php }?>