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