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 'FROM stock WHERE manpart LIKE '%Don harris%' AND quantity>=0' at line 1 in /home/symonb/public_html/function/search_engine.inc.php:173 Stack trace: #0 /home/symonb/public_html/function/search_engine.inc.php(173): PDOStatement->execute() #1 /home/symonb/public_html/stock/sep-cabin-equipment.php(24): require('/home/symonb/pu...') #2 {main} thrown in /home/symonb/public_html/function/search_engine.inc.php on line 173