title: Why does my MySql query run twice?
body: <p>I got a page which is URLRewrited by the .htaccess which runs a MySQL query twice eventhough I place it once, no loops no nothing.</p>
  
  <p>.htaccess</p>
  
  <pre><code>RewriteRule ^go/([a-zA-Z0-9-_]+)$ /go.php?id=$1&amp;%{QUERY_STRING}
  RewriteRule ^go/([a-zA-Z0-9-_]+)/([a-zA-Z0-9-_]+)$ /$2.php?id=$1%{QUERY_STRING}
  </code></pre>
  
  <p>go.php</p>
  
  <pre><code>&lt;?php
  $update = mysql_query('UPDATE table SET page_views=page_views+1 WHERE id =123');
  ?&gt;
  </code></pre>
  
  <p>Every time i refresh the page it adds 2 page views to the database, why is this?</p>