exception 'PDOException' with message '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 's Pend','City Centre','Coldside','Covenanters Pend','Douglas and Angus','Downfie' at line 3' in /home/www12letco/library/Zend/Db/Statement/Pdo.php:228 Stack trace: #0 /home/www12letco/library/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute(Array) #1 /home/www12letco/library/Zend/Db/Statement.php(300): Zend_Db_Statement_Pdo->_execute(Array) #2 /home/www12letco/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array) #3 /home/www12letco/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query(Object(Zend_Db_Table_Select), Array) #4 /home/www12letco/library/Zend/Db/Table/Abstract.php(1529): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Table_Select)) #5 /home/www12letco/library/Zend/Db/Table/Abstract.php(1391): Zend_Db_Table_Abstract->_fetch(Object(Zend_Db_Table_Select)) #6 /home/www12letco/application/models/DbTable/Property.php(1703): Zend_Db_Table_Abstract->fetchRow(Object(Zend_Db_Table_Select)) #7 /home/www12letco/application/controllers/SearchController.php(272): Application_Model_DbTable_Property->areaBranchSearch('Dundee', '1971', '5084', Array) #8 /home/www12letco/library/Zend/Controller/Action.php(516): SearchController->indexAction() #9 /home/www12letco/library/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('indexAction') #10 /home/www12letco/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #11 /home/www12letco/library/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch() #12 /home/www12letco/library/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run() #13 /home/www12letco/public/index.php(49): Zend_Application->run() #14 {main} Next exception 'Zend_Db_Statement_Exception' with message '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 's Pend','City Centre','Coldside','Covenanters Pend','Douglas and Angus','Downfie' at line 3' in /home/www12letco/library/Zend/Db/Statement/Pdo.php:234 Stack trace: #0 /home/www12letco/library/Zend/Db/Statement.php(300): Zend_Db_Statement_Pdo->_execute(Array) #1 /home/www12letco/library/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array) #2 /home/www12letco/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query(Object(Zend_Db_Table_Select), Array) #3 /home/www12letco/library/Zend/Db/Table/Abstract.php(1529): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Table_Select)) #4 /home/www12letco/library/Zend/Db/Table/Abstract.php(1391): Zend_Db_Table_Abstract->_fetch(Object(Zend_Db_Table_Select)) #5 /home/www12letco/application/models/DbTable/Property.php(1703): Zend_Db_Table_Abstract->fetchRow(Object(Zend_Db_Table_Select)) #6 /home/www12letco/application/controllers/SearchController.php(272): Application_Model_DbTable_Property->areaBranchSearch('Dundee', '1971', '5084', Array) #7 /home/www12letco/library/Zend/Controller/Action.php(516): SearchController->indexAction() #8 /home/www12letco/library/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('indexAction') #9 /home/www12letco/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #10 /home/www12letco/library/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch() #11 /home/www12letco/library/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run() #12 /home/www12letco/public/index.php(49): Zend_Application->run() #13 {main}