i tried to delete a mysql table record by a columname (ID).
if(isset($_GET['del_termin_del'])){
$del_del_del = $_GET['del_termin_del'];
$del_query = "DELETE FROM termine WHERE TerminID = '.$del_del_del.'";
if ($conni->query($del_query) === TRUE) {
echo "erfolgreich";
} else {
echo "Fehler beim Löschen" . $conn->error;
}
}
If i run this, i get the success message, but the record is still there.
Can anybody help me?
Thank you!