I want to delete a row from my data-table so I need to get the id value from database and then delete it.
$id = $_GET['id'];
$result = mysqli_query($con, "DELETE FROM registre where id=$id");
This code doesn't get the id value from database, I don't have a row for id in my data-table so I need to get from to db and then delete it.