Project Challenge: Edit and Delete Tasks
Let's add the edit and delete features to the project.
We'll cover the following...
Problem statement
In this chapter, we looked at editing and deleting data. Now, we will add these features to the task management application.
Tasks:
- Create a
pages/functions/task-crud.php
file, and create the reusable functionsnormalize_submitted_data()
,validate_normalized_data()
,load_all_tasks_data()
,save_all_tasks_data()
. They will be very similar to the functions we have created in this chapter intour-crud.php
. - Include the functions in the
bootstrap.php
script so they are available on