示例#1
0
        //appel au constructeur
        $projet = new Projet($donnees);
        //affichage du contenu de la bdd
        echo $projet->id();
        echo "</br>";
        echo $projet->titre();
        echo "</br>";
        echo $projet->date();
        echo "</br>";
        echo $projet->ville();
        echo "</br>";
        echo $projet->theme();
        echo "</br>";
        echo $projet->idAuteur();
        echo "</br>";
        echo $projet->equipe();
        echo "</br>";
        echo $projet->votes();
        echo "</br>";
        $texte = $projet->descriptif();
        echo $texte;
        echo "</br>";
        echo "</br>";
        //formulaire d'envois de commentaire
        require 'includes/includesProjet.php';
    }
    $request->closeCursor();
    echo '</section>';
} else {
    echo "vous n'etes pas connecté";
}