diff --git a/index.php b/index.php index 6ce7653..eb68fcd 100644 --- a/index.php +++ b/index.php @@ -78,10 +78,11 @@ str_replace(';', ' ', $_POST['codepostal']) . ";" . strtoupper(iconv('utf-8','ASCII//IGNORE//TRANSLIT',str_replace(';', ' ', $_POST['ville']))) . ";" . iconv('utf-8','ASCII//IGNORE//TRANSLIT',str_replace(';', ' ', $_POST['mail'])) . ";" . - str_replace(';', ' ', $_POST['mailalec']) . ";" . + iconv('utf-8','ASCII//IGNORE//TRANSLIT',str_replace(';', ' ', $_POST['mailalec'])) . ";" . str_replace(';', ' ', $_POST['xmppalec']) . ";" . str_replace(';', ' ', $_POST['cotisation']) . ";" . - str_replace(';', ' ', $_POST['mode'])); + str_replace(';', ' ', $_POST['mode']) . ";" . + str_replace(';', ' ', $_POST['rediralec']) ); file_put_contents($filepath . "pre_adhesion" . date("Y-m-d") . $numero_pre_adh, $content);