Actualiser main.php
This commit is contained in:
14
main.php
14
main.php
@@ -1,5 +1,17 @@
|
||||
<!-- CONTENU PRINCIPAL -->
|
||||
<main>
|
||||
<h2>Tableau de bord</h2>
|
||||
<p>Bienvenue sur le dashboard.</p>
|
||||
|
||||
<?php if(isset($personne1)): ?>
|
||||
<h3>Informations personnelles :</h3>
|
||||
<ul>
|
||||
<li>Nom : <?= $personne1['nom'] ?></li>
|
||||
<li>Prénom : <?= $personne1['prenom'] ?></li>
|
||||
<li>Email : <?= $personne1['email'] ?></li>
|
||||
<li>Rôle : <?= $personne1['role'] ?></li>
|
||||
<li>Classe : <?= $personne1['classe'] ?></li>
|
||||
</ul>
|
||||
<?php else: ?>
|
||||
<p>Aucune information disponible.</p>
|
||||
<?php endif; ?>
|
||||
</main>
|
||||
Reference in New Issue
Block a user