Fatal error: Uncaught mysqli_sql_exception: 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 in /home/admcadprime/public_html/funcoes/produtos/produto_acabamentos.php:14 Stack trace: #0 /home/admcadprime/public_html/funcoes/produtos/produto_acabamentos.php(14): mysqli_query(Object(mysqli), 'SELECT a.imagem...') #1 /home/admcadprime/public_html/site/produtos_detalhes.php(18): ProdutosAcabamentos(Array) #2 /home/admcadprime/public_html/index.php(122): include_once('/home/admcadpri...') #3 {main} thrown in /home/admcadprime/public_html/funcoes/produtos/produto_acabamentos.php on line 14