Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 Você tem um erro de sintaxe no seu SQL próximo a ')' na linha 1' in /home/lazertur/www/core/Zend/Db/Statement/Pdo.php:228 Stack trace: #0 /home/lazertur/www/core/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute(Array) #1 /home/lazertur/www/core/Zend/Db/Statement.php(320): Zend_Db_Statement_Pdo->_execute(Array) #2 /home/lazertur/www/core/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array) #3 /home/lazertur/www/core/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query(Object(Zend_Db_Table_Select), Array) #4 /home/lazertur/www/core/Database.class.php(143): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Table_Select)) #5 /home/lazertur/www/core/Database.class.php(100): Database->consultaSql(Object(Zend_Db_Table_Select), false) #6 /home/lazertur/www/apps/reserva.php(38): Database->listar('nome', 'id = ') #7 /home/lazertur/www/index.php(75): include('/home/lazertur/...' in /home/lazertur/www/core/Zend/Db/Statement/Pdo.php on line 234