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 p.DESCATALOGAT = 'n' ORDER BY p.IMATGE DESC, p.NOM ASC LIMIT 0,100' at line 1 in /home/clients/ea26579c70d9606b25c1acb28334ee2e/sites/instop.es/cataleg/resultats.php:87
Stack trace:
#0 /home/clients/ea26579c70d9606b25c1acb28334ee2e/sites/instop.es/cataleg/resultats.php(87): mysqli->query('SELECT p.* FROM...')
#1 {main}
thrown in /home/clients/ea26579c70d9606b25c1acb28334ee2e/sites/instop.es/cataleg/resultats.php on line 87