Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '') AND p.is_active='1' ORDER BY p.manufacturerPartNo ASC' at line 1 in /home/dcomponents/public_html/db.php:5 Stack trace: #0 /home/dcomponents/public_html/db.php(5): mysqli_query(Object(mysqli), 'SELECT p.* FROM...') #1 /home/dcomponents/public_html/results.php(39): do_or_die('SELECT p.* FROM...') #2 {main} thrown in /home/dcomponents/public_html/db.php on line 5