When deleting records, I prefer a lossless approach, a way of removing a record from the view of the end-user without completely removing the record from the database. This tutorial is my best implementation of an earlier article I wrote on Dealing with Delete.
Directory structure:
We set up the directory and files in my typical CRUD structure