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