Exemplo n.º 1
0
<?php

session_start();
if (!isset($_SESSION["NOM_USER"])) {
    header("Location: connexion.php");
}
require 'include/header.php';
?>
<section id="main">
    <div class="container">
        <div id="margin_bottom">

            <h3>Information du profil</h3>

            <?php 
$login = $_SESSION["NOM_USER"];
$nom;
$prenom;
$password;
require 'include/connexionBDD.php';
$con = new connexionBDD("ETD", "ETD");
$con->infoProfil($login);
?>

        </div>
    </div>
</section>
<?php 
require 'include/footer.php';