Fix bug 204

Hui-Organize
Lan Hui 2024-10-08 09:34:09 +08:00
parent 9d170fea87
commit 5ce55c3f1e
2 changed files with 5 additions and 2 deletions

View File

@ -650,8 +650,9 @@ include 'Header.php';
function remarking(data)
{
const details = prompt("Please enter your remarking reasons","");
window.location.href = data+"&details="+details;
if (details != null) {
window.location.href = data+"&details="+details;
}
}

View File

@ -9,8 +9,10 @@ try {
} catch (mysqli_sql_exception $e) {
echo $e->getMessage();
}
// Check database connection
if (mysqli_connect_errno()) {
echo " Error number: ".mysqli_connect_errno();
exit();
}
?>