alpha_full/admin/options/pays/lpays.reqUpdateCoeff.php
2026-04-06 22:58:51 +02:00

9 lines
582 B
PHP
Executable File

<?php
$nomFicAppelant = basename(__FILE__);
// --------------------- Coefficient pays
$reqUpdate="UPDATE `paysliv` SET `coeff`=" .$theCoeff. " WHERE idPaysLiv=" .$theIdPays. " ;";
$resConn=$idPdo->query($reqUpdate);
if (isset($debug[2]) && $debug[2] == '1' ) { $debugMsg .= monDebug(2, ['reqUpdate' => $reqUpdate], 'lpays.reqUpdateCoeff.php');}
if ($resConn) { $admMsg .= "&#160;Mise à jour du coeff pays " .$theCoeff. " effectuée avec succès !"; $admMsgClass='ok';}
else {$admMsg .= "&#160;Echec de la mise à jour coeff pays " .$theCoeff; $admMsgClass='ko';}
?>