| Current Path : /srv/www/vlevski/enter/hs/ |
| Current File : //srv/www/vlevski/enter/hs/decline.php |
<?php
header('Access-Control-Allow-Origin: *');
date_default_timezone_set("Europe/Sofia");
$i=$_GET["i"];
$k=$_GET["k"];
include("./conn.php");
$updatedata=mysqli_query($db, "UPDATE `students` SET `d` = 'decline' WHERE `students`.`i` = ".$i.";");
if ($updatedata)
{
header("location: /hs/?k=".$k."");
}
?>