22 lines
483 B
PHP
22 lines
483 B
PHP
<?php
|
|
require_once('../../../fixed/config/go_con.php');
|
|
|
|
$id = mysqli_real_escape_string($db, $_GET['id']);
|
|
|
|
if (!mysqli_query($db, "UPDATE `tretment_has_custom_discount` SET `done_id`= 3 WHERE `id` = $id")) {
|
|
echo ";
|
|
<script>
|
|
alert
|
|
window.history.back();
|
|
</script>
|
|
";
|
|
} else {
|
|
echo ";
|
|
<script>
|
|
window.history.back();
|
|
</script>
|
|
";
|
|
}
|
|
|
|
|