first commit

This commit is contained in:
psfroad
2025-09-29 11:34:09 +02:00
commit 98789a070a
3 changed files with 24 additions and 0 deletions

10
Etudiant.php Normal file
View File

@@ -0,0 +1,10 @@
<?php
class Etudiant{
private $nom;
public function setNom($n){
$this->nom = $n;
}
}

11
script1.php Normal file
View File

@@ -0,0 +1,11 @@
<?php
include "Script2.php";
require_once "Etudiant.php";
echo "Script 1 et 2";
traitementPrive();
$etu1 = new Etudiant();
$etu1->nom ="Durand";

3
script2.php Normal file
View File

@@ -0,0 +1,3 @@
<?php
echo "bienvenue";