The error message indicates that the table admin
in your database does not have a column called id
. You need to check what columns are available in the table, but without more information (such as the table definition), I can't be more help.
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'];}