Object update
This commit is contained in:
12
script1.php
12
script1.php
@@ -1,2 +1,12 @@
|
||||
<?php
|
||||
echo "script 1";
|
||||
require_once 'Etudiant.class.php';
|
||||
|
||||
echo "script 1";
|
||||
|
||||
$etudiant = new Etudiant("Week", "John", 40);
|
||||
|
||||
echo $etudiant->afficherInfo();
|
||||
|
||||
$etudiant->setNom("CENA");
|
||||
|
||||
echo $etudiant->afficherInfo();
|
Reference in New Issue
Block a user