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 MariaDB server version for the right syntax to use near '? LIMIT 1' at line 1 in /mnt/html/mobilbekas.web.id/#inc/db.php:506
Stack trace:
#0 /mnt/html/mobilbekas.web.id/#inc/db.php(506): PDO->query()
#1 /mnt/html/mobilbekas.web.id/#inc/function.php(621): DB->query()
#2 /mnt/html/mobilbekas.web.id/detail.php(244): val_aksesoris()
#3 {main}
thrown in /mnt/html/mobilbekas.web.id/#inc/db.php on line 506