Fatal error: Uncaught mysqli_sql_exception: 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 '' to 'upload/201001/20100127149628325f571a68.JPG' in /home/qinghou/blogn/Attachm' at line 4 in /home/wy/blogn/lib/DataObject.php:652
Stack trace:
#0 /home/wy/blogn/lib/DataObject.php(652): mysqli_query()
#1 /home/wy/blogn/lib/DataObject.php(764): MySqliDataAdapter->ExecuteNonQuery()
#2 /home/wy/blogn/lib/CoreObject.php(1157): MySqliDataAdapter->UpdateDataSet()
#3 /home/wy/blogn/PostItem.php(24): Post::ChangeCount()
#4 {main}
thrown in /home/wy/blogn/lib/DataObject.php on line 652