http://domain.com/update.php?id=DCS013001
I am using get method for store id in variable 
   if ($_GET['id']!="") {
    $id=$_GET['id'];
      mysql_query("DELETE FROM empmaster where empid=' ". $id. " ' ");
      header('Location:tables.php');
}
but its not working
 
    