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 'histoire%' ORDER BY parutionAnnee DESC, parutionMois DESC, parutionJour DESC LIM' at line 1
SELECT ouvrages.id, isbn, titre FROM ouvrages, auteurs WHERE miseEnLigne='oui' AND (idAuteur=auteurs.id || idCoAuteur1=auteurs.id || idCoAuteur2=auteurs.id) AND CONCAT(titre, sousTitre) LIKE '%_fonctions%' AND CONCAT(auteurs.nom, auteurs.prenom) LIKE '%gerard%' AND CONCAT(auteurs.nom, auteurs.prenom) LIKE '%conio/alexandre%' AND CONCAT(auteurs.nom, auteurs.prenom) LIKE '%wat%' AND CONCAT(auteurs.nom, auteurs.prenom) LIKE '%diable%' AND CONCAT(auteurs.nom, auteurs.prenom) LIKE '%dans%' AND CONCAT(auteurs.nom, auteurs.prenom) LIKE '%l'histoire%' ORDER BY parutionAnnee DESC, parutionMois DESC, parutionJour DESC LIMIT 20