Gagal menghapus data di mysqli menggunakan php

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