this will sort the problem you have , I had a similar issue but i manage to fix it.
{$sql = "DELETE FROM admin where id =".$_GET['id'];}