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