Premier commit

This commit is contained in:
Logshiro
2025-09-29 13:11:49 +02:00
commit 59d0786bc3
4 changed files with 90 additions and 0 deletions

20
scripte1.php Normal file
View File

@@ -0,0 +1,20 @@
<?php
include_once "scripte2.php";
require_once "Etudiant.php";
require_once "EtudiantBachelor.php";
//vérification des droits
// session -> vérif du rôle
// => si pas les droits : bye
//echo "script 1<br>";
$etu1 = new Etudiant("Dupont","Lorant","25");
//$etu1->setNom("Durant");
$etu1->afficherHtml();
$etu2 = new EtudiantBachelor("Dudu","Olivie","20");
$etu2->afficherHtml();
traitementPrive();