I'm doing a forum, and I have a table field named 'hits'. I want to increment one the value of this field each time a user visits a topic. It seems easy, but when page executes:
$result=mysql_query("UPDATE forum_messages SET hits=hits+1 WHERE id='$id");
MySQL increments 2 instead 1, why?