prepare("SELECT * FROM client WHERE id = ?");
$stmt->execute([$_SESSION['reference_id']]);
$client = $stmt->fetch();
if (!$client) {
echo "
{$translations['impossible_charger_infos']}
";
exit;
}
require_once '../includes/header.php';
?>
= $translations['mes_infos_heading'] ?>
- = $translations['label_nom'] ?> : = htmlspecialchars($client['nom'] ?? '') ?>
- = $translations['label_prenom'] ?> : = htmlspecialchars($client['prenom'] ?? '') ?>
- = $translations['label_email'] ?> : = htmlspecialchars($client['email'] ?? '') ?>
- = $translations['label_telephone'] ?> : = htmlspecialchars($client['telephone'] ?? '') ?>
- = $translations['label_genre'] ?> : = htmlspecialchars($client['genre'] ?? '') ?>
- = $translations['label_date_naissance'] ?> : = date('d/m/Y', strtotime(htmlspecialchars($client['date_naissance'] ?? ''))) ?>
- = $translations['label_adresse'] ?> : = nl2br(htmlspecialchars($client['adresse'] ?? '')) ?>
- = $translations['label_ville'] ?> : = htmlspecialchars($client['ville'] ?? '') ?>
- = $translations['label_code_postal'] ?> : = htmlspecialchars($client['code_postal'] ?? '') ?>