Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to delete records without a delete page?

New Here ,
Sep 04, 2009 Sep 04, 2009

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?

TOPICS
Server side applications
494
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Sep 04, 2009 Sep 04, 2009
LATEST

Use a query to delete the record.

DELETE FROM table_name WHERE table_row = 'parameter'

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines