Erreur SQL !
SELECT * FROM formation WHERE en_ligne = 1 AND id='7';