summaryrefslogtreecommitdiff
path: root/appli_3_alpha_old/profil.php
diff options
context:
space:
mode:
Diffstat (limited to 'appli_3_alpha_old/profil.php')
-rw-r--r--appli_3_alpha_old/profil.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/appli_3_alpha_old/profil.php b/appli_3_alpha_old/profil.php
index 4d6d175..97a172f 100644
--- a/appli_3_alpha_old/profil.php
+++ b/appli_3_alpha_old/profil.php
@@ -15,14 +15,14 @@ generate_html_divs_menu();
<?php
generate_html_div_help();
echo "<div id=\"contenu\">\n";
-$idP = $_SESSION['idP'];
-if ( isset( $_SESSION['prenomP'] ) && isset( $_SESSION['prenomP'] ) )
+$idP = $_SESSION['session_idP'];
+if ( isset( $_SESSION['session_prenomP'] ) && isset( $_SESSION['session_prenomP'] ) )
{
- $nom=$_SESSION['prenomP'] . ' ' . $_SESSION['nomP'];
+ $nom=$_SESSION['session_prenomP'] . ' ' . $_SESSION['session_nomP'];
}
else
{
- $nom = $_SESSION['loginP'];
+ $nom = $_SESSION['session_loginP'];
}
$requete = "SELECT * FROM 'Personne' WHERE = ''";
echo "<table>\n";
@@ -33,7 +33,7 @@ echo "<tr><td>Votre prenom :</td><td><input type=\"text\" name=\"prenom\" /></td
echo "<tr><td colspan=\"2\"><input type=\"submit\" /></td></tr>\n";
echo "</table>\n";
echo "</div>\n";
-if ( isset ($errmsg) ) enerate_html_div_errmsg($errmsg);
+if ( isset ($errmsg) ) generate_html_div_errmsg($errmsg);
?>
</body>
</html>