in reply to How to use checkbox to delete mutiple rows from database

  1. Get the values of the checked checkboxes (How you do that depends on what type of checkboxes they are. Tk? HTML via CGI? You didn't say.)
  2. Prepare an SQL statement that deletes one entry (determined by a bind variable). (Assuming you are using an SQL database, you didn't say.).
  3. Loop over the values you have, executing the SQL query (with the current value) each time.
  • Comment on Re: How to use checkbox to delete mutiple rows from database