Update manage_incident.php

This commit is contained in:
jakani24
2024-06-25 20:10:39 +02:00
parent ed81ca2e80
commit cb4938ce1d

View File

@@ -144,6 +144,7 @@ if(isset($_GET["add_todoitem"])){
echo("<td>".$entry["text"]."</td>"); echo("<td>".$entry["text"]."</td>");
//display user who checked it //display user who checked it
$sql="SELECT username FROM users WHERE id=?"; $sql="SELECT username FROM users WHERE id=?";
$stmt2 = $conn->prepare($sql);
$stmt2->bind_param("i", $entry["done_by"]); $stmt2->bind_param("i", $entry["done_by"]);
$stmt2->execute(); $stmt2->execute();
$result_lists2 = $stmt2->get_result(); $result_lists2 = $stmt2->get_result();