| Current Path : /home/tiporg/public_html/manage/ |
| Current File : /home/tiporg/public_html/manage/delete_cats.php |
<?php
include("classes/access_user_class.php");
$sql = "delete from tbl_cats where cat_id = '".$_REQUEST['id']."'";
mysql_query($sql) or die(mysql_error());
$message = "Category has been deleted successfully";
?>
<script>
self.location = "cats.php?mess=<?php echo $message; ?>";
</script>