function __construct() { $question = new Questions($_SESSION['id'], $_REQUEST['libelle'], $_REQUEST['type']); $question->ajouterQuestions(Connexion::seConnecter("mysql", "localhost", "sondage", "root", "")); }