dashboard\primary\error("Failed to delete all audit logs"), 'success' => dashboard\primary\success("Successfully deleted all audit logs!"), default => dashboard\primary\error("Unhandled Error! Contact us if you need help") }; } if (isset($_POST['exportAuditLogs'])) { echo ""; // get all rows, put in text file, download text file, delete text file. } ?>

Audit Logs



num_rows > 0) { while ($row = mysqli_fetch_array($query->result)) { echo ""; echo " "; echo " "; echo " "; echo ""; } } } ?>
User Event Time
" . $row["user"] . "" . $row["event"] . "