Added a simple TODO list manager
This commit is contained in:
parent
a805638920
commit
54093e75e0
4 changed files with 153 additions and 2 deletions
5
staff/load_tasks.php
Normal file
5
staff/load_tasks.php
Normal 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);
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue