15 lines
709 B
PHP
Executable File
15 lines
709 B
PHP
Executable File
<?php
|
|
$nomFicAppelant = basename(__FILE__);
|
|
if ($thePop!='') {
|
|
if (!empty($thePop)) $thePop=addslashes($thePop);
|
|
$thePop=rtrim($thePop);
|
|
$thePop=htmlspecialchars($thePop, ENT_QUOTES,"UTF-8",false);
|
|
$reqUpdate="Update `languenav` set `title" .$_SESSION['lgCouranteCode']. "`='" .$thePop. "' WHERE id=" .$idLanguenav. ";";
|
|
if (isset($debug[2]) && $debug[2] == '1') { $debugMsg .= monDebug(2, ['QUERY POPUP' => $reqUpdate], 'contenu.reqUpdateLnPop.php');}
|
|
$resConn=$idPdo->query($reqUpdate);
|
|
if ($resConn)
|
|
{ $admMsg .= "Mise à jour du popUp ok"; $admMsgClass='ok';}
|
|
else
|
|
{ $admMsg .= "Il est impossible de mettre à jour le popUp " .$idLanguenav; $admMsgClass='ko';}
|
|
}
|
|
?>
|