Update add_entry.php

This commit is contained in:
jakani24
2024-01-21 16:58:47 +01:00
parent 640900ad4e
commit 611963fe68

View File

@@ -18,7 +18,7 @@ else{
}
$sql = "INSERT INTO log (loglevel,machine_id,logtext) VALUES (?,?,?);";
$stmt = $conn->prepare($sql);
$stmt->bind_param("sss", $$loglevel,$machine_id,$logtext);
$stmt->bind_param("sss", $loglevel,$machine_id,$logtext);
// Execute the statement
if(!$stmt->execute())
echo("wrt_err");