Accessibility
 
Home > Products > Dreamweaver > Support > Editing Database Records
Dreamweaver Icon Macromedia Dreamweaver Support Center - Editing Database Records
Building PHP pages that let users delete records

You can use Macromedia Dreamweaver MX to build a set of PHP pages capable of deleting a record in a database table. To rapidly add this functionality to your web application, you can use the Delete Record server behavior. When the user clicks a link or a form button on the page, the Delete Record server behavior takes care of the details of deleting the record from the database.

For information on using this feature in a ColdFusion web application, see Building ColdFusion pages that let users delete records

To implement this functionality in an ASP or JSP web application, see "Building a page to delete a record" in Dreamweaver Help (Help > Using Dreamweaver).

Viewing the completed pages
Creating a page listing the records
Creating delete links
Creating a URL parameter for the links
Displaying the record on the confirmation page
Adding logic to delete the record
Deleting records without using a confirmation page
Creating the delete links (no confirmation page)
Creating a URL parameter (no confirmation page)
Adding logic to delete the record (no confirmation page)


Article Information
Author: Charles Nadeau

Charles Nadeau is a lead technical writer on the Dreamweaver documentation team.


Last Updated: 21 June 2002

Keywords: PHP, record, delete, database, table, Delete Record, server behavior, Dynamic Table, recordset, URL parameter, confirmation page, filter, tutorial

Doc ID: