Here is the error I am receiving:
Notice: Undefined index: id in C:\EasyPHP-12.1\www\final project\book\admin\process_del_contact.php on line 9 can't Execute...
And here is my code:
$link=mysql_connect("localhost","root","")or die("Can't Connect...");
mysql_select_db("shop",$link) or die("Can't Connect to Database...");
$query="delete from contact where con_id =".$_GET['id'];
mysql_query($query,$link) or die("can't Execute...");
header("location:contact.php");
MySQL database:
con_id / con_nm / con_email /con_query