Added a simple TODO list manager

This commit is contained in:
Lutchy Horace 2024-01-29 00:02:02 -05:00
parent a805638920
commit 54093e75e0
4 changed files with 153 additions and 2 deletions

5
staff/load_tasks.php Normal file
View file

@ -0,0 +1,5 @@
<?php
// Load tasks from the flat-file database (tasks.txt)
$tasks = file_exists("tasks.txt") ? explode("\n", file_get_contents("tasks.txt")) : [];
echo json_encode($tasks);
?>