$result = "UPDATE df_threads SET views=views+1 WHERE id = '$threadid'";
My database info is included in another file thats included to that file.. (confusing.. anyway). The table is called df_threads and i want the col views to go up 1 number when people access that page.
Do :
echo $result;
mysql_query($result) or die(mysql_error());
If you don;t see the $result echo line, then it's not even getting that far, otherwise you should see the mysql_error() output which will tell you what's wrong.