alpha_full/admin/options/moyensL/grilleTarifaire/gt.reqUpdateZone.php
2026-04-06 22:58:51 +02:00

10 lines
661 B
PHP
Executable File

<?php
$nomFicAppelant = basename(__FILE__);
if (!empty($theLib)) $theLib=addslashes($theLib);
$theLib=htmlspecialchars($theLib, ENT_QUOTES,"UTF-8",false);
$reqUpdate="UPDATE `zones` SET `description`='" .$theLib. "' WHERE idZone=" .$theIdZone. " and idMl=" .$idMl. ";";
$resConn=$idPdo->query($reqUpdate);
if (isset($debug[2]) && $debug[2] == '1') { $debugMsg .= monDebug(2, ['reqUpdate' => $reqUpdate], 'gt.reqUpdateZone.php');}
if ($resConn) { $admMsg .= "&#160;Mise à jour du libelle " .$theLib. " effectuée avec succès !"; $admMsgClass='ok';}
else { $admMsg .= "&#160;Echec de la mise à jour libelle " .$theLib; $admMsgClass='ko'; }
?>