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 'both,6,2,1) ORDER BY id DESC' at line 1 in /home/winnersy/public_html/inc/functions.php:105
Stack trace:
#0 /home/winnersy/public_html/inc/functions.php(105): PDOStatement->execute()
#1 /home/winnersy/public_html/products.php(61): getSpecialItems('products', ' WHERE cat_id=6...')
#2 /home/winnersy/public_html/index.php(26): include('/home/winnersy/...')
#3 {main}
thrown in /home/winnersy/public_html/inc/functions.php on line 105