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

File: /lib/pdo.inc.php
Line: 103
Function: db_error

File: /include/meta.inc.php
Line: 34
Function: db_query

File: /product-listing.php
Line: 3
Function: include