Skip to main content
Participant
September 5, 2009
Question

How to delete records without a delete page?

  • September 5, 2009
  • 1 reply
  • 493 views

I have a dynamic table that displays all the records in a database.  I'm using MySQL and PHP.  I have created a last column that has a delete link in it.  I'd simply like the delete link to delete the row of info that it sits on, and then reload the page.  I dont need the user to sort through which record to delete, or got to a seperate page to confirm.  Any good tutoirals out there about how to do this in dreamweaver?

This topic has been closed for replies.

1 reply

DwFAQ
Participating Frequently
September 5, 2009

Use a query to delete the record.

DELETE FROM table_name WHERE table_row = 'parameter'