#CACHE{0}
'string',
'Prénom'=>'string',
'Particule'=>'string',
'Nom'=>'string',
'Organisme'=>'string',
'Email'=>'string',
'Email secondaire'=>'string',
'Fonction'=>'string',
'Biographie'=>'string',
'Région' => 'string',
'Tél. perso' => 'string',
"Adresse perso" => "string",
"Adresse perso 2" => "string",
"Code postal perso" => "string",
"Ville perso" => "string",
'Tél. pro' => 'string',
"Adresse pro" => "string",
"Adresse pro 2" => "string",
"Code postal pro" => "string",
"Ville pro" => "string",
);
$data[] = array(
"#_mots:TITRE",
"[(#NOM|nettoyer_nom{prenom})]",
"[(#NOM|nettoyer_nom{particule})]",
"[(#NOM|nettoyer_nom{nom})]",
"[(#ORGANISME|replace{\",\"})]",
"[(#EMAIL)]",
"[(#EMAIL_SECOURS)]",
"[(#FONCTION|replace{\",\"})]",
"[(#BIO*|replace{\",\"})]",
"[(#LISTER_VALEURS{region})]",
"[(#TELEPHONE_PERSO|espace_telephone)]",
"[(#ADRESSE_PERSO*|replace{\",\"})]",
"[(#ADRESSE_PERSO_2*|replace{\",\"})]",
"[(#CP_PERSO*|replace{\",\"})]",
"[(#VILLE_PERSO*|replace{\",\"})]",
"[(#TELEPHONE_PRO|espace_telephone)]",
"[(#ADRESSE_PRO*|replace{\",\"})]",
"[(#ADRESSE_PRO_2*|replace{\",\"})]",
"[(#CP_PRO*|replace{\",\"})]",
"[(#VILLE_PRO*|replace{\",\"})]",
);
$writer = new XLSXWriter();
$writer->writeSheetHeader('Sheet1', $header );
foreach($data as $row)
$writer->writeSheetRow('Sheet1', $row );
$writer->writeToFile($fichier);
die ("Récupérer le fichier");
?>