Building pages to delete a record (PHP)
Your application can contain a set of pages that lets users delete records in a database. The pages normally consist of a search page, a results page, and a delete page. The search and results page let users retrieve the record and the delete page lets users delete the record.
This section describes the following steps to build PHP pages to delete records:
- Searching for the record to delete (PHP)
- Creating links to a confirmation page (PHP)
- Creating a URL parameter to pass to the confirmation page (PHP)
- Displaying the record on the confirmation page (PHP)
- Adding logic to delete the record (PHP)