jacomus Posted April 3, 2008 Share Posted April 3, 2008 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. Link to comment https://forums.phpfreaks.com/topic/99407-newbie-question-using-php-to-delete-rows-from-mysql/ Share on other sites More sharing options...
fenway Posted April 3, 2008 Share Posted April 3, 2008 I'm not sure I know what you mean... if you have the ID of the corresponding row, you can issue a DELETE statement for that ID. Link to comment https://forums.phpfreaks.com/topic/99407-newbie-question-using-php-to-delete-rows-from-mysql/#findComment-508684 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.