falhou em excluir dados em mysqli usando php

       $sql = "DELETE FROM tbl_food WHERE id=$id";
Splendid Skipper