window.location.href = '../applications.php'"; } else { die("Connection failed: " . $link->error); } $link->close(); ?>