Tagged: How to delete multiple records

How to delete multiple record in PHP 1

How to delete multiple records in PHP

MySQL Table Structure for this tutorial <?php include(‘dbconfig.php’); error_reporting(0); if (isset($_POST[“submit”])) { if (count($_POST[“ids”]) > 0 ) { // Imploding checkbox ids $all = implode(“,”, $_POST[“ids”]); $sql =mysqli_query($con,”DELETE FROM tblusers WHERE id in ($all)”);...