"; echo "nom : ".$nom."
"; echo "contenu : ".$contenu; //Création d'un objet CommentNews $postCom = new CommentNews(); //On appelle la méthode qui va enregistrer le commmentaire dans la bdd $postCom->ajouterCom($nom, $contenu, $idnews); } ?>