You wont belive it

This commit is contained in:
Michał Gdula 2022-08-07 18:28:21 +01:00
parent 8da2aff265
commit ffa8a8e1a3
8 changed files with 73 additions and 49 deletions

View file

@ -24,9 +24,9 @@ if (isset($_POST['submit'])) {
// Attempt to execute the prepared statement
if (mysqli_stmt_execute($stmt)) {
echo "sniffleAdd('Info','Description has been updated successfully! You may need to refresh the page to see the new information.','var(--green)')";
echo "sniffleAdd('Info', 'Description has been updated successfully! You may need to refresh the page to see the new information.', 'var(--green)', ".$root_dir."'assets/icons/check.svg')";
} else {
echo "sniffleAdd('Error','An error occured on the servers','var(--red)')";
echo "sniffleAdd('Error', 'An error occured on the servers', 'var(--red)', ".$root_dir."'assets/icons/check.svg')";
}
}
}