Fix bug 204
parent
9d170fea87
commit
5ce55c3f1e
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue