diff --git a/superadm/php/inc_fx_excell.php b/superadm/php/inc_fx_excell.php index 9fe0f09..3d318b7 100644 --- a/superadm/php/inc_fx_excell.php +++ b/superadm/php/inc_fx_excell.php @@ -631,7 +631,7 @@ function fxupload_excel_fnq($mem_fichier) { $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[4] . "',tq_naissance='" . $newDate . "',tq_timeupdate=now()"; + $sqlInsert = "INSERT INTO inscriptions_fnq set tq_nom='" . $GLOBALS['db']->fxEscape($r[0]) . "',tq_prenom='" . $GLOBALS['db']->fxEscape($r[1]) . "',tq_sexe='" . $r[2] . "', tq_no='" . $r[4] . "',tq_naissance='" . $newDate . "',tq_timeupdate=now()"; $qryInsert = $GLOBALS['db']->fxQuery($sqlInsert); }