| DIR: /proc/thread-self/root/home/islapiiu/sites/thegarder/admin/ |
| Current File : //proc/thread-self/root/home/islapiiu/sites/thegarder/admin/delete-price.php |
<?php
include '../db.php';
$id = $_GET['id'];
$sql = "DELETE FROM `prices` WHERE `id` = '$id'";
$db = new DB();
if ($db->readQuery($sql)) {
header('Location: ' . $_SERVER['HTTP_REFERER']);
}
|