Fatal error: Uncaught exception 'Exception' with message '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 '' at line 1' in D:\2016\phpStudy\WWW\source\include\cls_db.php:372 Stack trace: #0 D:\2016\phpStudy\WWW\source\include\cls_db.php(350): MyPDO->outputError('You have an err...') #1 D:\2016\phpStudy\WWW\source\include\cls_db.php(59): MyPDO->getPDOError() #2 D:\2016\phpStudy\WWW\template\zdsj\module\models.php(135): MyPDO->query('SELECT * FROM `...', 'Row') #3 D:\2016\phpStudy\WWW\index.php(10): require('D:\\2016\\phpStud...') #4 {main} thrown in D:\2016\phpStudy\WWW\source\include\cls_db.php on line 372