Query:update m-ona_visit set value = value + 1 where visitdate = '2012-01-28'
Notice:
Text: MySQL ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-ona_visit set value = value + 1 where visitdate = '2012-01-28'' at line 1

File: /home/download/public_html/m-ona/classes/database.class.php
Line: 8
Call Stack:
errorHandler(1024, "MySQL ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-ona_visit set value = value + 1 where visitdate = '2012-01-28'' at line 1
", "/home/download/public_html/m-ona/classes/database.class.php", 8, array()) trigger_error("MySQL ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-ona_visit set value = value + 1 where visitdate = '2012-01-28'' at line 1
") /home/download/public_html/m-ona/classes/database.class.php [8] throw_mysql_error(Resource id #3) /home/download/public_html/m-ona/classes/database.class.php [157] Dataset->exec("update m-ona_visit set value = value + 1 where visitdate = '2012-01-28'") /home/download/public_html/m-ona/classes/tools.lib.php [157] sqlexec("update m-ona_visit set value = value + 1 where visitdate = '2012-01-28'") /home/download/public_html/m-ona/index.php [23]