06-14-2017, 06:27 PM
The easiest thing is to do something like a foreach loop. So the checkboxes should represent the id of the row you're trying to delete.
Let's say they're all assigned to $deleteme
That should do it.
Let's say they're all assigned to $deleteme
Code:
foreach ($deleteme as $d){
Code:
$db->query("DELETE FROM mytable WHERE id = ?",array($d));
Code:
}
That should do it.