18 lines
734 B
PHP
Executable File
18 lines
734 B
PHP
Executable File
<?php
|
|
$nomFicAppelant = basename(__FILE__);
|
|
if ($theValue!='') {
|
|
if (!empty($theValue)) $theValue=addslashes($theValue);
|
|
$theValue=rtrim($theValue);
|
|
// $theValue=htmlspecialchars($theValue, ENT_QUOTES,"UTF-8",false);
|
|
|
|
$reqUpdate="Update languenav set " .$lg. "='" .$theValue. "' WHERE id=" .$idLanguenav. ";";
|
|
if (isset($debug[2]) && $debug[2] == '1') $debugMsg .= monDebug(2, ['lg' => $lg, 'reqUpdate' => $reqUpdate ],'contenu.reqUpdateLn.php');
|
|
|
|
$resConn=$idPdo->query($reqUpdate);
|
|
if ($resConn) {
|
|
$admMsg .= "Mise à jour du message " .$idLanguenav. " ok"; $admMsgClass='ok';
|
|
}
|
|
else
|
|
{ $admMsg .= "Il est impossible de mettre à jour le message : " .$idLanguenav; $admMsgClass='ko';}
|
|
}
|
|
?>
|