title: Delete record in MySQL with php targeting auto_incremented int?
body: <p>Why doesnt this delete work to delete the whole record:</p>
  
  <pre><code>$query = 'DELETE FROM tblEvents WHERE index = $_GET["id"]';
  $result = mysql_query($query, $db) or die(mysql_error($db));
  </code></pre>
  
  <p>Where index is variable of type int, auto_incremented in MySQL?</p>