Ejemplo n.º 1
0
<?php

session_start();
include 'Class/Utilisateur.php';
$profil = new Utilisateur();
$profil->getProfil();
if (isset($_POST['submit'])) {
    $profil->modifProfil($_POST['pseudo'], $_POST['firstName'], $_POST['lastName'], $_POST['birthDate'], $_POST['sexe'], $_POST['email'], $_POST['hobits'], $_POST['geekHobits'], $_POST['userID']);
    header('location:profil.php');
}
include 'Views/profilViews.php';