Notice: Undefined variable: id in /usr/local/www/88844408/ticket.php on line 16

Fatal error: Uncaught Zend_Db_Statement_Exception: 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 '' at line 1 in /usr/local/www/88844408/Zend/Db/Statement/Pdo.php:234 Stack trace: #0 /usr/local/www/88844408/Zend/Db/Statement.php(300): Zend_Db_Statement_Pdo->_execute() #1 /usr/local/www/88844408/Zend/Db/Adapter/Abstract.php(468): Zend_Db_Statement->execute() #2 /usr/local/www/88844408/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query() #3 /usr/local/www/88844408/Zend/Db/Adapter/Abstract.php(725): Zend_Db_Adapter_Pdo_Abstract->query() #4 /usr/local/www/88844408/ticket.php(17): Zend_Db_Adapter_Abstract->fetchRow() #5 {main} thrown in /usr/local/www/88844408/Zend/Db/Statement/Pdo.php on line 234