Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 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 ') order by id desc' at line 1 in /home/panwo804/public_html/Library/ClassPDO.php:122 Stack trace: #0 /home/panwo804/public_html/Library/ClassPDO.php(122): PDO->prepare('select id,name,...') #1 /home/panwo804/public_html/Library/ClassPDO.php(193): Library\ClassPDO->Init('select id,name,...', NULL) #2 /home/panwo804/public_html/Model/service.php(19): Library\ClassPDO->query('select id,name,...') #3 /home/panwo804/public_html/Library/Controller.php(186): include('/home/panwo804/...') #4 /home/panwo804/public_html/Library/autoload.php(57): require_once('/home/panwo804/...') #5 /home/panwo804/public_html/index.php(19): require_once('/home/panwo804/...') #6 {main} thrown in /home/panwo804/public_html/Library/ClassPDO.php on line 122