D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
thread-self
/
root
/
home
/
shubmkcj
/
urbane.createerp.com
/
Filename :
restore_inventory.php
back
Copy
<?php ob_start(); session_start(); include 'config.php'; $id = $_GET['id']; $sql = "UPDATE `inventory_manager` SET `data_delete`='' WHERE item_id='$id'"; if ($conn->query($sql) === TRUE) { $_SESSION['restore'] = "restore" ; echo '<script>location.replace("inventory.php")</script>'; } else { echo '<script>alert("Error !")</script>'; } ?>