...

/

Project Challenge: Edit and Delete Tasks

Project Challenge: Edit and Delete Tasks

Let's add the edit and delete features to the project.

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 functions normalize_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 in tour-crud.php.
  • Include the functions in the bootstrap.php script so they are available on
...