J'utilise PDO pour la connexion :
$reponse = $bdd->query('SELECT * FROM billet WHERE titre LIKE \''.htmlentities($_GET['recherche']).'%\'');
Le problème c'est que cela me renvoi TOUS les billets mais commençant par le mot recherché.
Une personne à t'elle une solution ?
Merci d'avance.

$reponse = $bdd->query('SELECT * FROM billet WHERE titre AND head AND corp LIKE \%''.htmlentities($_GET['recherche']).'%\'');
Mais cette solution ne fonctionne pas
$reponse = $bdd->query('SELECT * FROM billet WHERE corp LIKE \'%'.htmlentities($_GET['recherche']).'%\' OR head LIKE \'%'.htmlentities($_GET['recherche']).'%\' OR titre LIKE \'%'.htmlentities($_GET['recherche']).'%\'');