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 'AND activo=1 ORDER BY id_carrito DESC LIMIT 1' at line 1 in /home1/impresionate/public_html/carrito.php:199
Stack trace:
#0 /home1/impresionate/public_html/carrito.php(199): mysqli_query(Object(mysqli), 'SELECT * FROM c...')
#1 {main}
thrown in /home1/impresionate/public_html/carrito.php on line 199