No sŽha completat la consuta: "SELECT id, titol, autor, preu, ref, idcategoria, exhaurit, nomes_ebook, foto FROM llibres WHERE idcategoria='3' id ORDER BY DESC ASC": 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 'id ORDER BY DESC ASC' at line 1