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