title: PHP - $GET and delete from MySQL
body: <p>I have an a href which looks like that: <code>&lt;a href="delete-news.php?deleteID=11"&gt;Delete&lt;/a&gt;</code></p>
  
  <p>And file delete-news.php is as follow:</p>
  
  <pre><code>&lt;?php 
  
  if(isset($_GET["?deleteID='.$id."])) 
  {
  
      $result = mysql_query("DELETE FROM 'news' WHERE id='$id'");
      echo mysql_error();
      if($result)
          echo "succces";
  }
  else { echo "GET NOT SET"; }
  
  ?&gt;
  </code></pre>
  
  <p>But it is returning <code>GET NOT SET</code>. What I'm doing wrong?</p>