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 idCategoria =' at line 1 in /home/chavetasgalas/public_html/productos-detalle.php:37 Stack trace: #0 /home/chavetasgalas/public_html/productos-detalle.php(37): mysqli_query(Object(mysqli), 'SELECT * FROM p...') #1 {main} thrown in /home/chavetasgalas/public_html/productos-detalle.php on line 37