<?php
require 'functions/functions.php';
$var = $_GET['id'];
$query = "DELETE FROM `$dbname`.`request_status` WHERE `request_status`.`id` = '$var' LIMIT 1";

mysqli_query($conection, $query) or die(mysqli_error());
?>

<script>
location.href='bookigs.php';
</script>