Jump to content

Newbie question: using PHP to delete rows from MySQL


jacomus

Recommended Posts

Now my ultimate goal is to have a checkbox or link system by which I can delete entries from my database (displayed in PHP); so for example, on the page taken from the MySQL database the display is here:

 

Car 1

Car 2

Car 3

Car 4

 

If Car 2 is clicked then it will remove the row from the MySQL database. So then it will look like this instead:

 

Car 1

Car 3

Car 4

 

Is there a simple method to do this? If so, then any direction would be much appreciated.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.