title: PHP/SQL Single Page Views Counter
body: <p>Hey guys, I was looking for a good answer some hours now but can't find what I'm looking for!</p>
  <p>If I have a dynamic Website (maybe news) I got the following links</p>
  <blockquote>
  <p>../domain.com/?newsid=1</p>
  <p>../domain.com/?newsid=2</p>
  <p>../domain.com/?newsid=3 etc..</p>
  </blockquote>
  <p>now I would have a individual counter for each of this page..</p>
  <p>So I would check every single visitor and if someone is reading the &quot;news 1&quot; 20 times it also should count only 1 time. =&gt; Maybe with IP or Cookie.</p>
  <p>It should be a function that I can include into the php code like <code>&lt;? pageviews(ID)?&gt;</code></p>
  <p>I never thougth anything like this. Hope someone can help me and give me some tips how I can code a script like this (I'm php newbie btw)</p>