Notice: Undefined variable: search in /home/solohard/public_html/items.php on line 39

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 existen desc, descrip asc' at line 22 in /home/solohard/public_html/items.php:98 Stack trace: #0 /home/solohard/public_html/items.php(98): PDOStatement->execute() #1 /home/solohard/public_html/index.php(410): include('/home/solohard/...') #2 {main} thrown in /home/solohard/public_html/items.php on line 98