This a part of my code for more comprehension :
********** index.php **********
<?php
session_start();
require_once 'tools/fonctions.php';
if(isset($_GET['id'])) {
$id=$_GET['id'];
$res=loadData($id);
$_SESSION['id']=$id;
$_SESSION['nom']=getNom($res);
$_SESSION['prenom']=getPrenom($res);
$_SESSION['email']=getEmail($res);
$_SESSION['telephone']=getTelephone($res);
$_SESSION['adresse']=getAdresse($res);
}
else {
$_SESSION['id']='christo2006';
$_SESSION['nom']='POPULIER';
$_SESSION['prenom']='Christopher';
$_SESSION['email']='
contact@gdi-france.ws';
$_SESSION['telephone']='06.77.96.09.43';
$_SESSION['adresse']='6 avenue du Chancelier Adenauer<br>Bātiment AMERICA ONE, appartement 111<br>59370 Mons-En-Baroeul';
}
<html> [...] </html>
For example, I'use <?php echo $_SESSION['id'] ?> in html code to recover a session data
********** nosClients.php **********
<?php
session_start()
?>
<html> [...] </html>
For example, when I'use <?php echo $_SESSION['id'] ?>, it returns nothing.
I don't have php.ini file.
Must I have it
This my tempory website :
www.argent-a-vie.wsThank you for your help