Update manage_incident.php

This commit is contained in:
jakani24
2024-06-25 20:02:57 +02:00
parent 02ecab9aad
commit 32adfa7a04

View File

@@ -129,7 +129,7 @@ if(isset($_GET["add_todoitem"])){
echo("<tr><th>Done</th><th>Entry</th><th>Done By</th></tr>"); echo("<tr><th>Done</th><th>Entry</th><th>Done By</th></tr>");
//display form to add a todo entry //display form to add a todo entry
echo("<tr><td></td>"); echo("<tr><td></td>");
echo("<td><form action='manage_incident.php?list_id=$list_id&show=todo&add_todoitem=true&incident_id=".<?php echo($_GET["incident_id"]); ?>".' method='POST'><input type='text' class='form-control' id='todoitem' name='todoitem' required></td><td> <button type='submit' class='btn btn-primary btn-block'>Add item</button></form></td>"); echo("<td><form action='manage_incident.php?list_id=$list_id&show=todo&add_todoitem=true&incident_id=".$_GET["incident_id"]."' method='POST'><input type='text' class='form-control' id='todoitem' name='todoitem' required></td><td> <button type='submit' class='btn btn-primary btn-block'>Add item</button></form></td>");
echo("</tr>"); echo("</tr>");
if ($result_entries->num_rows > 0) { if ($result_entries->num_rows > 0) {
// Output data of each entry // Output data of each entry