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. } ?>
| User | Event | Time |
|---|---|---|
| " . $row["user"] . " | "; echo "" . $row["event"] . " | "; echo ""; echo " |