This code is telling me that the $id variable is undefined. I already initialized it as a superglobal in the code but its still saying that its not initialized
$id = $_POST['ID];
$dbc = mysqli_connect(DB_HOST, DB_USER, DB_PASSWORD, DB_NAME);
$query = "DELETE FROM guitar_wars WHERE id = $id LIMIT 1";
mysqli_query($dbc, $query);
mysqli_close($dbc);
Why is it telling me that the id variable is undefined? Thanks for all the help in advance.