From 0a944bd54938d05f911c81708e312efa0504beef Mon Sep 17 00:00:00 2001 From: stephan Date: Wed, 27 May 2026 10:52:22 -0400 Subject: [PATCH] MSIN-4378 --- superadm/php/inc_fx_excell.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/superadm/php/inc_fx_excell.php b/superadm/php/inc_fx_excell.php index 8790963..9600048 100644 --- a/superadm/php/inc_fx_excell.php +++ b/superadm/php/inc_fx_excell.php @@ -626,9 +626,9 @@ function fxupload_excel_fnq($mem_fichier) { // $sqlInsert = "INSERT INTO inscriptions_tq set tq_nom='" . $GLOBALS['db']->fxEscape(htmlentities(trim( trim($r[0])), ENT_QUOTES, 'UTF-8')) . "',tq_prenom='" . $GLOBALS['db']->fxEscape(htmlentities(trim($r[1]), ENT_QUOTES, 'UTF-8')) . "',tq_no='" . $r[2] . "',tq_adhesion='" . $r[3] . "',tq_naissance='" . $r[4] . "',tq_echeance='" . $r[5] . "',tq_sexe='" . $r[6] . "',tq_timeupdate=now()"; print_r($r); - $newDate = date("Y-m-d", strtotime($r[7])); + $newDate = date("Y-m-d", strtotime($r[3])); //echo("
"); - $sqlInsert = "INSERT INTO inscriptions_fnq set tq_nom='" . $r[0] . "',tq_prenom='" . $r[1] . "',tq_sexe='" . $r[2] . "', tq_no='" . $r[3] . "',tq_naissance='" . $newDate . "',tq_timeupdate=now()"; + $sqlInsert = "INSERT INTO inscriptions_fnq set tq_nom='" . $r[0] . "',tq_prenom='" . $r[1] . "',tq_sexe='" . $r[2] . "', tq_no='" . $r[4] . "',tq_naissance='" . $newDate . "',tq_timeupdate=now()"; $qryInsert = $GLOBALS['db']->fxQuery($sqlInsert); }