No sŽha completat la consuta: "SELECT a.*, p.descripcio_public_objectiu, i.tipus_ibic, b.nom as cat_nom FROM llibres a LEFT JOIN categories b ON a.idcategoria=b.id LEFT JOIN public_objectiu p ON p.id_public_objectiu = a.id_public_objectiu LEFT JOIN ibic i ON i.codi_ibic = a.codi_ibic1 WHERE (a.titol like '%'Eduard Prats'%' OR a.autor like '%'Eduard Prats'%' OR a.metadades like '%'Eduard Prats'%') AND publicat=1 ": 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 'Eduard Prats'%' OR a.autor like '%'Eduard Prats'%' OR a.metadades like '%'Eduard' at line 1