Premier commit
This commit is contained in:
20
scripte1.php
Normal file
20
scripte1.php
Normal 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();
|
Reference in New Issue
Block a user