Current Path : /home/tiporg/www/manage/ |
Current File : /home/tiporg/www/manage/delete_product.php |
<?php include("classes/access_user_class.php"); $sql = "delete from tbl_product where pro_id = '".$_REQUEST['id']."'"; mysql_query($sql) or die(mysql_error()); $message = "Product has been deleted successfully"; ?> <script> self.location = "products.php?mess=<?php echo $message; ?>"; </script>