in an sql database i have a tbale with three columns id, topics, threads i need to update it by one everytime someone posts i can do it all apart form one thing how can i set in the query line value=oldvalue+1?
[code=php]$sql = "UPDATE tablename SET column_name = column_name + 1 WHERE something = 'something';";[/code]
tablename
column_name
something
Help @lukezweb spread the word by sharing this article on Twitter...