this is the code: mysql_query("UPDATE bts_blog set read = read + 1 where id = '$_GET[id]'") OR DIE(mysql_error()); PHP: and this is the error from the die() now ideally, when the code is run, it should take the integer from the db, and add one to it. so 'read' = 0 or some other integer, and after the page loads it should then be 1. all of the other update that i have work in this format so maybe im just missing something simple... thanks for any help.
mysql_query("UPDATE bts_blog set `read` = `read` + 1 where id = " . mysql_real_escape_string($_GET['id'])) OR DIE(mysql_error()); PHP: