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

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

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